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.001347/0.001346, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00121/0.001211, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.553/1.553, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.516/1.516, allocations: 251.6 MB / 0.5089 GB, free: 3.32 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.001365/0.001365, allocations: 63.89 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5871/0.5885, allocations: 104.7 MB / 0.724 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9892/1.578, allocations: 320.6 MB / 1.037 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03654/1.614, allocations: 22.96 MB / 1.06 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005994/1.62, allocations: 85.94 kB / 1.06 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005521/1.626, allocations: 1.363 MB / 1.061 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/1.641, allocations: 4.027 MB / 1.065 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006986/1.648, allocations: 2.158 MB / 1.067 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009674/1.657, allocations: 5.992 MB / 1.073 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/1.661, allocations: 2.169 MB / 1.075 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008487/1.67, allocations: 3.18 MB / 1.078 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/1.674, allocations: 1.875 MB / 1.08 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007499/1.675, allocations: 228 kB / 1.08 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009058/1.684, allocations: 3.815 MB / 1.084 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002196/1.686, allocations: 0.892 MB / 1.085 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002932/1.689, allocations: 1.349 MB / 1.086 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/1.7, allocations: 4.943 MB / 1.091 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/1.7, allocations: 0 / 1.091 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.254e-06/1.7, allocations: 7.875 kB / 1.091 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.384e-05/1.7, allocations: 0 / 1.091 GB, free: 8.168 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.006452/1.707, allocations: 2.99 MB / 1.094 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.707, allocations: 8.031 kB / 1.094 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005556/1.712, allocations: 0.8203 MB / 1.095 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/1.716, allocations: 1.838 MB / 1.096 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/1.717, allocations: 178.4 kB / 1.097 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/1.717, allocations: 147.9 kB / 1.097 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/1.72, allocations: 1.682 MB / 1.098 GB, free: 312 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.72, allocations: 0 / 1.098 GB, free: 312 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/1.721, allocations: 52 kB / 1.098 GB, free: 260 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/1.721, allocations: 50.62 kB / 1.098 GB, free: 208 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/1.724, allocations: 1.408 MB / 1.1 GB, free: 14.79 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.01219/1.736, allocations: 7.703 MB / 1.107 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/1.738, allocations: 1.052 MB / 1.108 GB, free: 5.395 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.739, allocations: 0.5064 MB / 1.109 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/1.74, allocations: 110 kB / 1.109 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.74, allocations: 43.22 kB / 1.109 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001094/1.741, allocations: 147 kB / 1.109 GB, free: 4.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/1.741, allocations: 0 / 1.109 GB, free: 4.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=76): time 0.00364/1.744, allocations: 1.401 MB / 1.11 GB, free: 3.156 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/1.745, allocations: 71.94 kB / 1.111 GB, free: 3.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/1.747, allocations: 1.773 MB / 1.112 GB, free: 1.266 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.747, allocations: 53.69 kB / 1.112 GB, free: 1.207 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.748, allocations: 0.9801 MB / 1.113 GB, free: 224 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/1.749, allocations: 264.1 kB / 1.114 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003498/1.749, allocations: 222.4 kB / 1.114 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.749, allocations: 353.9 kB / 1.114 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.75, allocations: 468.6 kB / 1.115 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.752, allocations: 0.8542 MB / 1.115 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/1.754, allocations: 1.259 MB / 1.117 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.754, allocations: 4 kB / 1.117 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00348/1.758, allocations: 1.464 MB / 1.118 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/1.758, allocations: 8 kB / 1.118 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.758, allocations: 16.28 kB / 1.118 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/1.758, allocations: 12 kB / 1.118 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.759, allocations: 287.5 kB / 1.118 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005044/1.76, allocations: 0.6093 MB / 1.119 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/1.762, allocations: 145.1 kB / 1.119 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.762, allocations: 51.98 kB / 1.119 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001994/1.764, allocations: 0.8415 MB / 1.12 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001201/1.765, allocations: 0.8034 MB / 1.121 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001977/1.767, allocations: 1.166 MB / 1.122 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/1.767, allocations: 0 / 1.122 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002614/1.77, allocations: 1.354 MB / 1.123 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.77, allocations: 8 kB / 1.123 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.77, allocations: 12 kB / 1.123 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.77, allocations: 20.22 kB / 1.123 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009629/1.771, allocations: 251.7 kB / 1.123 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/1.771, allocations: 23.86 kB / 1.124 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.772, allocations: 145 kB / 1.124 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.049e-05/1.772, allocations: 51.92 kB / 1.124 GB, free: 4.898 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 (124): * Single equations (assignments): 121 * 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.0003566/1.773, allocations: 244 kB / 1.124 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.773, allocations: 201.4 kB / 1.124 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/1.776, allocations: 1.115 MB / 1.125 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.776, allocations: 15.88 kB / 1.125 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.776, allocations: 0 / 1.125 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/1.778, allocations: 0.9334 MB / 1.126 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/1.783, allocations: 2.932 MB / 1.129 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.783, allocations: 0 / 1.129 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.784, allocations: 211.8 kB / 1.129 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/1.784, allocations: 4 kB / 1.129 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/1.784, allocations: 23.98 kB / 1.129 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003193/1.784, allocations: 0.5938 MB / 1.13 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.784, allocations: 3.984 kB / 1.13 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/1.788, allocations: 1.699 MB / 1.131 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/1.789, allocations: 362.6 kB / 1.132 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/1.789, allocations: 15.94 kB / 1.132 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.79, allocations: 120.9 kB / 1.132 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.79, allocations: 52.67 kB / 1.132 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/1.79, allocations: 31.98 kB / 1.132 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00171/1.792, allocations: 1.212 MB / 1.133 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/1.792, allocations: 0 / 1.133 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002491/1.794, allocations: 0.9662 MB / 1.134 GB, free: 9.918 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 (79): * Single equations (assignments): 78 * 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.0009035/1.795, allocations: 371.1 kB / 1.135 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004397/1.8, allocations: 1.762 MB / 1.136 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.8, allocations: 4.5 kB / 1.136 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.801, allocations: 491.7 kB / 1.137 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/1.806, allocations: 1.064 MB / 1.138 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/1.814, allocations: 4.304 MB / 1.142 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.816, allocations: 1.57 MB / 1.143 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002565/1.818, allocations: 0.4927 MB / 1.144 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/1.819, allocations: 147.4 kB / 1.144 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of SimCode: time 1.763e-06/1.819, allocations: 0 / 1.144 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.06903/1.888, allocations: 38.28 MB / 1.181 GB, free: 9.977 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)