Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 104.3 kB / 16.4 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 197.8 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7314/0.7314, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 72.59 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1664, allocations: 76.17 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7359/0.9024, allocations: 325 MB / 0.9495 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03214/0.9345, allocations: 22.27 MB / 0.9712 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.9388, allocations: 103.4 kB / 0.9713 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006867/0.9457, allocations: 2.359 MB / 0.9736 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.9592, allocations: 4.518 MB / 0.9781 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007108/0.9663, allocations: 2.562 MB / 0.9806 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01923/0.9856, allocations: 12.17 MB / 0.9924 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004103/0.9897, allocations: 2.237 MB / 0.9946 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008791/0.9985, allocations: 3.273 MB / 0.9978 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004384/1.003, allocations: 1.878 MB / 0.9997 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007091/1.004, allocations: 240 kB / 0.9999 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008351/1.012, allocations: 3.867 MB / 1.004 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001495/1.014, allocations: 1.164 MB / 1.005 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002292/1.016, allocations: 1.71 MB / 1.006 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/1.026, allocations: 5.838 MB / 1.012 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.026, allocations: 0 / 1.012 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.873e-06/1.026, allocations: 0 / 1.012 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.646e-05/1.026, allocations: 0 / 1.012 GB, free: 6.82 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007292/1.034, allocations: 3.813 MB / 1.016 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.034, allocations: 12.03 kB / 1.016 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007258/1.041, allocations: 1.096 MB / 1.017 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008199/1.049, allocations: 4.037 MB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/1.049, allocations: 122.6 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/1.05, allocations: 152 kB / 1.021 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/1.053, allocations: 1.711 MB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/1.053, allocations: 11.88 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.053, allocations: 56 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/1.053, allocations: 50.59 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/1.057, allocations: 1.439 MB / 1.024 GB, free: 10.09 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/1.07, allocations: 8.661 MB / 1.033 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/1.072, allocations: 1.024 MB / 1.034 GB, free: 15.74 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/1.073, allocations: 0.5022 MB / 1.034 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/1.074, allocations: 101.6 kB / 1.034 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/1.074, allocations: 51.12 kB / 1.034 GB, free: 15.06 MB / 0.795 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/1.074, allocations: 0 / 1.034 GB, free: 15.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=70): time 0.004307/1.078, allocations: 1.472 MB / 1.036 GB, free: 13.58 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/1.078, allocations: 59.97 kB / 1.036 GB, free: 13.51 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/1.082, allocations: 2.975 MB / 1.039 GB, free: 10.53 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/1.082, allocations: 49.7 kB / 1.039 GB, free: 10.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.083, allocations: 1.272 MB / 1.04 GB, free: 9.191 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/1.084, allocations: 260.4 kB / 1.04 GB, free: 8.934 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005643/1.084, allocations: 427 kB / 1.041 GB, free: 8.512 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/1.084, allocations: 301.1 kB / 1.041 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.086, allocations: 0.8129 MB / 1.042 GB, free: 7.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/1.088, allocations: 1.322 MB / 1.043 GB, free: 5.883 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/1.092, allocations: 1.895 MB / 1.045 GB, free: 3.836 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/1.092, allocations: 4 kB / 1.045 GB, free: 3.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004711/1.096, allocations: 2.4 MB / 1.047 GB, free: 1.418 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.096, allocations: 10.5 kB / 1.047 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/1.096, allocations: 20.34 kB / 1.047 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/1.096, allocations: 20 kB / 1.047 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.098, allocations: 395.3 kB / 1.048 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003704/1.098, allocations: 0.6054 MB / 1.048 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.101, allocations: 230.1 kB / 1.049 GB, free: 132 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.101, allocations: 76.91 kB / 1.049 GB, free: 56 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3329/1.434, allocations: 1.432 MB / 1.05 GB, free: 324.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001795/1.435, allocations: 1.296 MB / 1.051 GB, free: 324 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002916/1.438, allocations: 1.862 MB / 1.053 GB, free: 323.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.085e-05/1.438, allocations: 3.938 kB / 1.053 GB, free: 323.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004673/1.443, allocations: 2.35 MB / 1.055 GB, free: 322.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.443, allocations: 9.969 kB / 1.055 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.443, allocations: 11 kB / 1.055 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.443, allocations: 19.81 kB / 1.056 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.445, allocations: 356.7 kB / 1.056 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/1.445, allocations: 33.44 kB / 1.056 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.447, allocations: 197.6 kB / 1.056 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.447, allocations: 64.83 kB / 1.056 GB, free: 322.2 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003389/1.447, allocations: 268.3 kB / 1.056 GB, free: 322 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/1.448, allocations: 268.7 kB / 1.057 GB, free: 322 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/1.451, allocations: 1.123 MB / 1.058 GB, free: 321.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.451, allocations: 7.281 kB / 1.058 GB, free: 321.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.451, allocations: 0 / 1.058 GB, free: 321.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002301/1.453, allocations: 0.9246 MB / 1.059 GB, free: 321.2 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007478/1.46, allocations: 3.339 MB / 1.062 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.461, allocations: 1.625 kB / 1.062 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.462, allocations: 210.5 kB / 1.062 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.462, allocations: 6.688 kB / 1.062 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/1.462, allocations: 20.16 kB / 1.062 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002249/1.462, allocations: 0.597 MB / 1.063 GB, free: 319 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.462, allocations: 2.297 kB / 1.063 GB, free: 319 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/1.467, allocations: 1.705 MB / 1.064 GB, free: 318.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.468, allocations: 475.2 kB / 1.065 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/1.468, allocations: 19.08 kB / 1.065 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.47, allocations: 94.44 kB / 1.065 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.47, allocations: 43.34 kB / 1.065 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/1.47, allocations: 32.06 kB / 1.065 GB, free: 317.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004178/1.474, allocations: 1.988 MB / 1.067 GB, free: 317.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.31e-07/1.474, allocations: 1.156 kB / 1.067 GB, free: 317.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005837/1.48, allocations: 1.262 MB / 1.068 GB, free: 317 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/1.482, allocations: 0.4902 MB / 1.069 GB, free: 316.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005285/1.487, allocations: 2.683 MB / 1.071 GB, free: 316 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.487, allocations: 3.172 kB / 1.071 GB, free: 316 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.488, allocations: 475.5 kB / 1.072 GB, free: 315.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005638/1.494, allocations: 1.451 MB / 1.073 GB, free: 315.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/1.501, allocations: 4.696 MB / 1.078 GB, free: 313.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.502, allocations: 1.935 MB / 1.08 GB, free: 312.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002547/1.505, allocations: 0.7208 MB / 1.08 GB, free: 312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/1.505, allocations: 208.8 kB / 1.081 GB, free: 312 MB / 0.795 GB Notification: Performance of SimCode: time 6.51e-07/1.505, allocations: 0 / 1.081 GB, free: 312 MB / 0.795 GB Notification: Performance of Templates: time 0.06808/1.574, allocations: 52.13 MB / 1.131 GB, free: 261.1 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)