Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.002223/0.002223, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002711/0.002711, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 251.7 MB / 0.5092 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002586, allocations: 68.28 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6459, allocations: 104.7 MB / 0.7245 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9196/1.565, allocations: 324.3 MB / 1.041 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03875/1.604, allocations: 23.03 MB / 1.064 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006073/1.61, allocations: 94.22 kB / 1.064 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006105/1.617, allocations: 1.514 MB / 1.065 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01524/1.632, allocations: 4.294 MB / 1.07 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007185/1.639, allocations: 2.348 MB / 1.072 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009715/1.649, allocations: 5.97 MB / 1.078 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/1.652, allocations: 2.169 MB / 1.08 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007958/1.66, allocations: 3.141 MB / 1.083 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/1.664, allocations: 1.74 MB / 1.085 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005267/1.665, allocations: 224 kB / 1.085 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/1.674, allocations: 3.68 MB / 1.088 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001919/1.676, allocations: 0.8725 MB / 1.089 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003135/1.68, allocations: 1.341 MB / 1.09 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.692, allocations: 4.706 MB / 1.095 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/1.692, allocations: 0 / 1.095 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.033e-06/1.692, allocations: 3.938 kB / 1.095 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.988e-05/1.692, allocations: 0 / 1.095 GB, free: 4.094 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006397/1.698, allocations: 2.967 MB / 1.098 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.698, allocations: 12.03 kB / 1.098 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005473/1.704, allocations: 0.8203 MB / 1.099 GB, free: 228 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/1.708, allocations: 1.834 MB / 1.101 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/1.708, allocations: 174.4 kB / 1.101 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/1.708, allocations: 151.9 kB / 1.101 GB, free: 13.99 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/1.712, allocations: 1.67 MB / 1.103 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/1.712, allocations: 4 kB / 1.103 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.712, allocations: 56 kB / 1.103 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.575e-05/1.712, allocations: 46.59 kB / 1.103 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/1.715, allocations: 1.368 MB / 1.104 GB, free: 10.77 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.01215/1.727, allocations: 7.927 MB / 1.112 GB, free: 2.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/1.729, allocations: 0.9899 MB / 1.113 GB, free: 1.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/1.731, allocations: 0.4933 MB / 1.113 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/1.731, allocations: 106 kB / 1.113 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/1.731, allocations: 47.22 kB / 1.113 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=72): time 4.449e-06/1.731, allocations: 0 / 1.113 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of matching and sorting (n=72): time 0.004768/1.736, allocations: 1.335 MB / 1.115 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/1.736, allocations: 60.06 kB / 1.115 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/1.74, allocations: 1.797 MB / 1.116 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/1.74, allocations: 41.7 kB / 1.116 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.741, allocations: 0.9877 MB / 1.117 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004198/1.742, allocations: 260.3 kB / 1.118 GB, free: 12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004404/1.742, allocations: 214.4 kB / 1.118 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002209/1.742, allocations: 345.9 kB / 1.118 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/1.744, allocations: 448.6 kB / 1.119 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/1.745, allocations: 0.8343 MB / 1.119 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/1.748, allocations: 1.207 MB / 1.121 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.748, allocations: 4 kB / 1.121 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003537/1.751, allocations: 1.401 MB / 1.122 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.751, allocations: 8 kB / 1.122 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1.751, allocations: 12.41 kB / 1.122 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-05/1.751, allocations: 16 kB / 1.122 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.753, allocations: 275.6 kB / 1.122 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004651/1.753, allocations: 0.6054 MB / 1.123 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.755, allocations: 152.1 kB / 1.123 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.755, allocations: 51.98 kB / 1.123 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001902/1.757, allocations: 0.822 MB / 1.124 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001228/1.758, allocations: 0.7797 MB / 1.125 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002098/1.76, allocations: 1.114 MB / 1.126 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/1.76, allocations: 0 / 1.126 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003189/1.764, allocations: 1.299 MB / 1.127 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.764, allocations: 8.406 kB / 1.127 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.764, allocations: 15.94 kB / 1.127 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.764, allocations: 16 kB / 1.127 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/1.765, allocations: 243.6 kB / 1.127 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/1.765, allocations: 27.88 kB / 1.127 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.766, allocations: 114.4 kB / 1.127 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/1.766, allocations: 47.98 kB / 1.127 GB, free: 1.301 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0003847/1.767, allocations: 248 kB / 1.128 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/1.767, allocations: 197.4 kB / 1.128 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/1.77, allocations: 1.059 MB / 1.129 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.77, allocations: 8 kB / 1.129 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.77, allocations: 0 / 1.129 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001981/1.772, allocations: 0.8905 MB / 1.13 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/1.778, allocations: 2.855 MB / 1.133 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.778, allocations: 0 / 1.133 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.779, allocations: 211.8 kB / 1.133 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/1.779, allocations: 4 kB / 1.133 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/1.779, allocations: 19.98 kB / 1.133 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003185/1.779, allocations: 0.5899 MB / 1.133 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.779, allocations: 7.969 kB / 1.133 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/1.783, allocations: 1.616 MB / 1.135 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.784, allocations: 370.4 kB / 1.135 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/1.785, allocations: 12 kB / 1.135 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.786, allocations: 63.94 kB / 1.135 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.786, allocations: 44.44 kB / 1.135 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.876e-05/1.786, allocations: 27.98 kB / 1.135 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002543/1.789, allocations: 1.22 MB / 1.137 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/1.789, allocations: 4 kB / 1.137 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003675/1.792, allocations: 0.9468 MB / 1.138 GB, free: 6.668 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (74): * Single equations (assignments): 73 * 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.001291/1.794, allocations: 354.7 kB / 1.138 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00499/1.799, allocations: 1.675 MB / 1.14 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.799, allocations: 0 / 1.14 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.8, allocations: 468.4 kB / 1.14 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005936/1.806, allocations: 1.045 MB / 1.141 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/1.815, allocations: 3.528 MB / 1.144 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/1.817, allocations: 1.562 MB / 1.146 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002992/1.82, allocations: 484.5 kB / 1.146 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/1.821, allocations: 147.4 kB / 1.147 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of SimCode: time 9.31e-07/1.821, allocations: 0 / 1.147 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of Templates: time 0.0748/1.896, allocations: 38.01 MB / 1.184 GB, free: 7.934 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)