Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001096/0.001096, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001087/0.001087, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 284.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9275/0.9275, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4502, allocations: 86.99 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9124/1.363, allocations: 325 MB / 1.084 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03459/1.397, allocations: 22.31 MB / 1.106 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006218/1.403, allocations: 94 kB / 1.106 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008137/1.412, allocations: 2.348 MB / 1.109 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01473/1.426, allocations: 4.528 MB / 1.113 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006791/1.433, allocations: 2.565 MB / 1.116 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01803/1.451, allocations: 12.16 MB / 1.127 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004641/1.456, allocations: 2.252 MB / 1.13 GB, free: 5.508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008674/1.465, allocations: 3.269 MB / 1.133 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004116/1.469, allocations: 1.855 MB / 1.135 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009463/1.47, allocations: 240 kB / 1.135 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008655/1.478, allocations: 3.882 MB / 1.139 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00161/1.48, allocations: 1.161 MB / 1.14 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003352/1.483, allocations: 1.706 MB / 1.141 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/1.495, allocations: 5.854 MB / 1.147 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.495, allocations: 0 / 1.147 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/1.495, allocations: 0 / 1.147 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001713/1.495, allocations: 0 / 1.147 GB, free: 3.492 MB / 0.7794 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.00917/1.504, allocations: 3.798 MB / 1.151 GB, free: 15.61 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.504, allocations: 8.031 kB / 1.151 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006888/1.511, allocations: 1.104 MB / 1.152 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007216/1.519, allocations: 4.041 MB / 1.156 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.519, allocations: 110.8 kB / 1.156 GB, free: 10.28 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/1.519, allocations: 155.9 kB / 1.156 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/1.522, allocations: 1.707 MB / 1.158 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/1.523, allocations: 7.922 kB / 1.158 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.523, allocations: 60 kB / 1.158 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/1.523, allocations: 58.58 kB / 1.158 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/1.526, allocations: 1.435 MB / 1.159 GB, free: 6.781 MB / 0.795 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.01166/1.538, allocations: 8.665 MB / 1.168 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/1.54, allocations: 1.019 MB / 1.169 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/1.541, allocations: 0.499 MB / 1.169 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.541, allocations: 113.6 kB / 1.169 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.541, allocations: 39.12 kB / 1.169 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.365e-06/1.541, allocations: 0 / 1.169 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.004055/1.546, allocations: 1.468 MB / 1.171 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.546, allocations: 55.97 kB / 1.171 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003919/1.55, allocations: 2.983 MB / 1.174 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.55, allocations: 45.7 kB / 1.174 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.551, allocations: 1.268 MB / 1.175 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.551, allocations: 260.4 kB / 1.175 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005677/1.552, allocations: 431 kB / 1.176 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.552, allocations: 305.1 kB / 1.176 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/1.553, allocations: 0.8168 MB / 1.177 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.555, allocations: 1.317 MB / 1.178 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/1.558, allocations: 1.895 MB / 1.18 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/1.558, allocations: 4 kB / 1.18 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004502/1.563, allocations: 2.408 MB / 1.182 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/1.563, allocations: 14.66 kB / 1.182 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.563, allocations: 12 kB / 1.182 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/1.563, allocations: 19.94 kB / 1.182 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.564, allocations: 383.8 kB / 1.183 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004032/1.565, allocations: 0.6133 MB / 1.183 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.567, allocations: 234.1 kB / 1.184 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.567, allocations: 71.98 kB / 1.184 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002506/1.57, allocations: 1.441 MB / 1.185 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001745/1.571, allocations: 1.286 MB / 1.186 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002787/1.574, allocations: 1.865 MB / 1.188 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.707e-06/1.574, allocations: 4 kB / 1.188 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004163/1.578, allocations: 2.357 MB / 1.19 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.578, allocations: 12 kB / 1.19 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.578, allocations: 12 kB / 1.19 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.578, allocations: 16 kB / 1.191 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.58, allocations: 360 kB / 1.191 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/1.58, allocations: 31.86 kB / 1.191 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.582, allocations: 194.8 kB / 1.191 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.582, allocations: 67.98 kB / 1.191 GB, free: 4.762 MB / 0.8262 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.0003985/1.582, allocations: 267.8 kB / 1.191 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/1.583, allocations: 268.4 kB / 1.192 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/1.586, allocations: 1.13 MB / 1.193 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.586, allocations: 8 kB / 1.193 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.586, allocations: 0 / 1.193 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002124/1.588, allocations: 0.9178 MB / 1.194 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/1.594, allocations: 3.337 MB / 1.197 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.594, allocations: 0 / 1.197 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.595, allocations: 207.8 kB / 1.197 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.595, allocations: 11.92 kB / 1.197 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/1.595, allocations: 23.98 kB / 1.197 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003225/1.595, allocations: 0.5899 MB / 1.198 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.595, allocations: 0 / 1.198 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/1.599, allocations: 1.711 MB / 1.199 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008709/1.6, allocations: 473.4 kB / 1.2 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/1.6, allocations: 15.98 kB / 1.2 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.601, allocations: 89.86 kB / 1.2 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.601, allocations: 48.44 kB / 1.2 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/1.601, allocations: 35.97 kB / 1.2 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002862/1.604, allocations: 1.988 MB / 1.202 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/1.604, allocations: 0 / 1.202 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002971/1.607, allocations: 1.259 MB / 1.203 GB, free: 8.168 MB / 0.8419 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.001106/1.608, allocations: 0.5044 MB / 1.204 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005162/1.614, allocations: 2.685 MB / 1.206 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.614, allocations: 0 / 1.206 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/1.615, allocations: 476 kB / 1.207 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/1.62, allocations: 1.464 MB / 1.208 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/1.628, allocations: 4.858 MB / 1.213 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/1.631, allocations: 1.909 MB / 1.215 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007805/1.631, allocations: 223.3 kB / 1.215 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/1.631, allocations: 0 / 1.215 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of Templates: time 0.08362/1.715, allocations: 59.3 MB / 1.273 GB, free: 1.082 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)