Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001277/0.001277, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001173/0.001173, allocations: 188 kB / 17.3 MB, free: 5.617 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.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.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.001387/0.001387, allocations: 71.91 kB / 0.6729 GB, free: 5.914 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2221, allocations: 114.6 MB / 0.7848 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7125/0.9347, allocations: 323.8 MB / 1.101 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03425/0.969, allocations: 22.92 MB / 1.123 GB, free: 14.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003881/0.9729, allocations: 95.44 kB / 1.123 GB, free: 14.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.9777, allocations: 1.503 MB / 1.125 GB, free: 13.26 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.9894, allocations: 4.204 MB / 1.129 GB, free: 9.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006339/0.9957, allocations: 2.338 MB / 1.131 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009065/1.005, allocations: 5.903 MB / 1.137 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.52/1.525, allocations: 2.144 MB / 1.139 GB, free: 79.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007664/1.533, allocations: 3.195 MB / 1.142 GB, free: 79.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/1.537, allocations: 1.71 MB / 1.144 GB, free: 79.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/1.538, allocations: 219.3 kB / 1.144 GB, free: 79.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00939/1.547, allocations: 3.681 MB / 1.148 GB, free: 79.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002258/1.55, allocations: 0.8782 MB / 1.149 GB, free: 79.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004213/1.554, allocations: 1.323 MB / 1.15 GB, free: 79.5 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/1.566, allocations: 4.735 MB / 1.155 GB, free: 79.39 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.567, allocations: 1.312 kB / 1.155 GB, free: 79.39 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.866e-06/1.567, allocations: 1 kB / 1.155 GB, free: 79.39 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001859/1.567, allocations: 1.125 kB / 1.155 GB, free: 79.39 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.0103/1.577, allocations: 2.954 MB / 1.157 GB, free: 77.95 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.577, allocations: 9.312 kB / 1.157 GB, free: 77.95 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006447/1.584, allocations: 0.8393 MB / 1.158 GB, free: 77.81 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/1.589, allocations: 1.892 MB / 1.16 GB, free: 77.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/1.59, allocations: 113 kB / 1.16 GB, free: 77.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007373/1.59, allocations: 148.1 kB / 1.16 GB, free: 77.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/1.596, allocations: 1.657 MB / 1.162 GB, free: 77.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.607e-05/1.596, allocations: 5.703 kB / 1.162 GB, free: 77.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003796/1.596, allocations: 55.53 kB / 1.162 GB, free: 77.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/1.597, allocations: 49.55 kB / 1.162 GB, free: 77.06 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/1.601, allocations: 1.355 MB / 1.163 GB, free: 77.05 MB / 0.92 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.0121/1.613, allocations: 7.837 MB / 1.171 GB, free: 72.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/1.615, allocations: 1.003 MB / 1.172 GB, free: 72.76 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.616, allocations: 488.4 kB / 1.172 GB, free: 72.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.616, allocations: 111.2 kB / 1.173 GB, free: 72.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/1.616, allocations: 40.09 kB / 1.173 GB, free: 72.62 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 2.405e-06/1.616, allocations: 1.125 kB / 1.173 GB, free: 72.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=72): time 0.003948/1.62, allocations: 1.337 MB / 1.174 GB, free: 72.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/1.62, allocations: 60.44 kB / 1.174 GB, free: 72.42 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/1.623, allocations: 1.786 MB / 1.176 GB, free: 72.19 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/1.624, allocations: 46.27 kB / 1.176 GB, free: 72.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007624/1.624, allocations: 0.9833 MB / 1.177 GB, free: 71.85 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/1.625, allocations: 258.1 kB / 1.177 GB, free: 71.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/1.625, allocations: 212.2 kB / 1.177 GB, free: 71.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/1.625, allocations: 345.4 kB / 1.178 GB, free: 71.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.626, allocations: 454.7 kB / 1.178 GB, free: 71.35 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/1.628, allocations: 0.8358 MB / 1.179 GB, free: 70.89 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/1.63, allocations: 1.196 MB / 1.18 GB, free: 70.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.63, allocations: 3.438 kB / 1.18 GB, free: 70.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003912/1.634, allocations: 1.399 MB / 1.181 GB, free: 70.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/1.634, allocations: 10.81 kB / 1.181 GB, free: 70.42 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.634, allocations: 10.56 kB / 1.181 GB, free: 70.42 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.74e-05/1.634, allocations: 14.19 kB / 1.181 GB, free: 70.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.636, allocations: 277.8 kB / 1.182 GB, free: 70.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002981/1.636, allocations: 0.6084 MB / 1.182 GB, free: 69.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.638, allocations: 145.8 kB / 1.182 GB, free: 69.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.638, allocations: 55.73 kB / 1.182 GB, free: 69.78 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001888/1.64, allocations: 0.8141 MB / 1.183 GB, free: 69.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/1.641, allocations: 0.7832 MB / 1.184 GB, free: 69.24 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001812/1.643, allocations: 1.095 MB / 1.185 GB, free: 68.89 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.01e-05/1.643, allocations: 3.875 kB / 1.185 GB, free: 68.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002912/1.646, allocations: 1.296 MB / 1.186 GB, free: 68.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.646, allocations: 9.688 kB / 1.186 GB, free: 68.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.646, allocations: 10.06 kB / 1.186 GB, free: 68.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.646, allocations: 18.25 kB / 1.186 GB, free: 68.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/1.647, allocations: 246.4 kB / 1.187 GB, free: 68.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/1.647, allocations: 18.09 kB / 1.187 GB, free: 68.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/1.649, allocations: 114 kB / 1.187 GB, free: 68.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.649, allocations: 49.17 kB / 1.187 GB, free: 68.71 MB / 0.92 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.0003914/1.649, allocations: 244 kB / 1.187 GB, free: 68.53 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/1.65, allocations: 200.4 kB / 1.187 GB, free: 68.43 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002977/1.653, allocations: 1.051 MB / 1.188 GB, free: 68.35 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.653, allocations: 8.281 kB / 1.188 GB, free: 68.35 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.653, allocations: 0 / 1.188 GB, free: 68.35 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001917/1.655, allocations: 0.8875 MB / 1.189 GB, free: 68.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/1.661, allocations: 2.855 MB / 1.192 GB, free: 67.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.661, allocations: 0 / 1.192 GB, free: 67.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.662, allocations: 204.1 kB / 1.192 GB, free: 67.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/1.662, allocations: 4.281 kB / 1.192 GB, free: 67.55 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/1.662, allocations: 20.53 kB / 1.192 GB, free: 67.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000204/1.663, allocations: 0.592 MB / 1.193 GB, free: 66.96 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.663, allocations: 4 kB / 1.193 GB, free: 66.96 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/1.666, allocations: 1.615 MB / 1.194 GB, free: 66.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.667, allocations: 358.8 kB / 1.195 GB, free: 66.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/1.668, allocations: 18.14 kB / 1.195 GB, free: 66.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.669, allocations: 56.86 kB / 1.195 GB, free: 66.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.67, allocations: 41.5 kB / 1.195 GB, free: 66.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/1.67, allocations: 38.64 kB / 1.195 GB, free: 66.45 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002314/1.672, allocations: 1.209 MB / 1.196 GB, free: 66.31 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/1.672, allocations: 0 / 1.196 GB, free: 66.31 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003877/1.676, allocations: 0.9575 MB / 1.197 GB, free: 66.17 MB / 0.92 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.001207/1.677, allocations: 372 kB / 1.197 GB, free: 66.03 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004058/1.681, allocations: 1.594 MB / 1.199 GB, free: 65.99 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.681, allocations: 2.719 kB / 1.199 GB, free: 65.99 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.682, allocations: 456.7 kB / 1.199 GB, free: 65.98 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/1.688, allocations: 1.055 MB / 1.2 GB, free: 65.9 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007475/1.696, allocations: 3.571 MB / 1.204 GB, free: 64.47 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.697, allocations: 1.563 MB / 1.205 GB, free: 63.72 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/1.698, allocations: 153.2 kB / 1.205 GB, free: 63.71 MB / 0.92 GB Notification: Performance of SimCode: time 1.042e-06/1.698, allocations: 0 / 1.205 GB, free: 63.71 MB / 0.92 GB Notification: Performance of Templates: time 0.05522/1.753, allocations: 43.25 MB / 1.248 GB, free: 33.25 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)