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.001366/0.001366, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006485/0.006485, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.562/1.562, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.513/1.513, allocations: 252 MB / 0.5105 GB, free: 4.723 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.0005336/0.0005337, allocations: 12 kB / 0.6249 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5921, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8112/1.403, allocations: 317.9 MB / 1.039 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0397/1.443, allocations: 23.33 MB / 1.062 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005968/1.449, allocations: 79.34 kB / 1.062 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006327/1.455, allocations: 1.303 MB / 1.063 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01661/1.472, allocations: 4.027 MB / 1.067 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007498/1.48, allocations: 2.099 MB / 1.069 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01179/1.491, allocations: 8.038 MB / 1.077 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/1.495, allocations: 1.812 MB / 1.079 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007365/1.502, allocations: 2.759 MB / 1.082 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00462/1.507, allocations: 1.746 MB / 1.083 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007959/1.508, allocations: 92 kB / 1.083 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009117/1.517, allocations: 4.033 MB / 1.087 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/1.518, allocations: 0.7475 MB / 1.088 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002327/1.521, allocations: 1.21 MB / 1.089 GB, free: 5.066 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.009878/1.531, allocations: 4.766 MB / 1.094 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/1.531, allocations: 0 / 1.094 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.436e-06/1.531, allocations: 0 / 1.094 GB, free: 292 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000119/1.531, allocations: 0 / 1.094 GB, free: 292 kB / 0.7637 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.006025/1.537, allocations: 2.535 MB / 1.096 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.537, allocations: 8.031 kB / 1.096 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/1.542, allocations: 0.8516 MB / 1.097 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/1.547, allocations: 1.854 MB / 1.099 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/1.547, allocations: 186.4 kB / 1.099 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.548, allocations: 151.9 kB / 1.099 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/1.551, allocations: 1.682 MB / 1.101 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/1.551, allocations: 3.938 kB / 1.101 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/1.551, allocations: 60 kB / 1.101 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/1.551, allocations: 50.61 kB / 1.101 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/1.555, allocations: 1.435 MB / 1.103 GB, free: 7.27 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.01147/1.566, allocations: 7.75 MB / 1.11 GB, free: 14.92 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/1.568, allocations: 1.056 MB / 1.111 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/1.57, allocations: 0.5297 MB / 1.112 GB, free: 13.29 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/1.57, allocations: 110 kB / 1.112 GB, free: 13.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.57, allocations: 39.22 kB / 1.112 GB, free: 13.12 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001107/1.571, allocations: 203 kB / 1.112 GB, free: 12.92 MB / 0.795 GB Notification: Performance of pre-optimization done (n=76): time 2.896e-06/1.571, allocations: 0 / 1.112 GB, free: 12.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=76): time 0.003697/1.575, allocations: 1.421 MB / 1.113 GB, free: 11.49 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.575, allocations: 64.06 kB / 1.113 GB, free: 11.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/1.577, allocations: 1.781 MB / 1.115 GB, free: 9.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.577, allocations: 45.7 kB / 1.115 GB, free: 9.547 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/1.578, allocations: 0.9762 MB / 1.116 GB, free: 8.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/1.578, allocations: 272.1 kB / 1.116 GB, free: 8.293 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.579, allocations: 97.59 kB / 1.117 GB, free: 8.191 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.579, allocations: 345.9 kB / 1.117 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/1.58, allocations: 473.6 kB / 1.117 GB, free: 7.387 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.581, allocations: 0.8664 MB / 1.118 GB, free: 6.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/1.584, allocations: 1.274 MB / 1.119 GB, free: 4.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.584, allocations: 4 kB / 1.119 GB, free: 4.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003435/1.587, allocations: 1.463 MB / 1.121 GB, free: 3.453 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002864/1.588, allocations: 388.6 kB / 1.121 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.588, allocations: 12 kB / 1.121 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.588, allocations: 19.94 kB / 1.121 GB, free: 2.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.589, allocations: 283.6 kB / 1.121 GB, free: 2.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004101/1.59, allocations: 0.6055 MB / 1.122 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.591, allocations: 155.8 kB / 1.122 GB, free: 1.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.592, allocations: 51.98 kB / 1.122 GB, free: 1.805 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.592, allocations: 4 kB / 1.122 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/1.594, allocations: 1.171 MB / 1.123 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.594, allocations: 8 kB / 1.123 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.594, allocations: 16 kB / 1.123 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009579/1.595, allocations: 259.9 kB / 1.124 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.595, allocations: 19.94 kB / 1.124 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.597, allocations: 149 kB / 1.124 GB, free: 192 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.308e-05/1.597, allocations: 44 kB / 1.124 GB, free: 148 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001194/1.598, allocations: 0.5865 MB / 1.124 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/1.598, allocations: 197.5 kB / 1.125 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/1.601, allocations: 1.119 MB / 1.126 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.601, allocations: 8 kB / 1.126 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.601, allocations: 0 / 1.126 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/1.603, allocations: 0.9529 MB / 1.127 GB, free: 13.23 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.006057/1.609, allocations: 3.049 MB / 1.13 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/1.609, allocations: 0 / 1.13 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.61, allocations: 223.8 kB / 1.13 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.61, allocations: 4 kB / 1.13 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/1.611, allocations: 31.92 kB / 1.13 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003489/1.611, allocations: 0.5937 MB / 1.13 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.611, allocations: 4.031 kB / 1.13 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/1.615, allocations: 1.694 MB / 1.132 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009248/1.616, allocations: 354.5 kB / 1.132 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/1.616, allocations: 19.98 kB / 1.132 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.617, allocations: 148.8 kB / 1.133 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.617, allocations: 48.58 kB / 1.133 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/1.617, allocations: 31.98 kB / 1.133 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001836/1.619, allocations: 1.212 MB / 1.134 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.51e-07/1.619, allocations: 4 kB / 1.134 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002828/1.622, allocations: 0.9585 MB / 1.135 GB, free: 4.629 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (78): * Single equations (assignments): 77 * 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.0009376/1.623, allocations: 361.5 kB / 1.135 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004052/1.627, allocations: 1.688 MB / 1.137 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.627, allocations: 0 / 1.137 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.628, allocations: 488.1 kB / 1.137 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005301/1.633, allocations: 1.008 MB / 1.138 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007188/1.641, allocations: 4.354 MB / 1.143 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.642, allocations: 1.566 MB / 1.144 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002387/1.644, allocations: 492.5 kB / 1.145 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/1.645, allocations: 151.4 kB / 1.145 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of SimCode: time 1.142e-06/1.645, allocations: 0 / 1.145 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.06947/1.714, allocations: 37.12 MB / 1.181 GB, free: 5.895 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: