Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001215/0.001215, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.799/1.799, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.00148/0.00148, allocations: 71.89 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2408, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.7382/0.9791, allocations: 323.9 MB / 1.101 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03248/1.012, allocations: 22.94 MB / 1.123 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004438/1.016, allocations: 95.44 kB / 1.124 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004751/1.021, allocations: 1.515 MB / 1.125 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/1.033, allocations: 4.207 MB / 1.129 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006426/1.039, allocations: 2.365 MB / 1.131 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01002/1.049, allocations: 5.923 MB / 1.137 GB, free: 476 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5258/1.575, allocations: 2.158 MB / 1.139 GB, free: 79.45 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007435/1.582, allocations: 3.203 MB / 1.142 GB, free: 79.45 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/1.587, allocations: 1.731 MB / 1.144 GB, free: 79.44 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006204/1.587, allocations: 221 kB / 1.144 GB, free: 79.44 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008464/1.596, allocations: 3.689 MB / 1.148 GB, free: 79.44 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001682/1.597, allocations: 0.8719 MB / 1.149 GB, free: 79.44 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002498/1.6, allocations: 1.341 MB / 1.15 GB, free: 79.44 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/1.612, allocations: 4.767 MB / 1.155 GB, free: 79.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.612, allocations: 0.7031 kB / 1.155 GB, free: 79.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.253e-06/1.612, allocations: 0.8438 kB / 1.155 GB, free: 79.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001267/1.612, allocations: 0.875 kB / 1.155 GB, free: 79.32 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008046/1.62, allocations: 2.977 MB / 1.158 GB, free: 77.88 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.62, allocations: 10.78 kB / 1.158 GB, free: 77.88 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/1.626, allocations: 0.8414 MB / 1.159 GB, free: 77.74 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/1.631, allocations: 1.84 MB / 1.16 GB, free: 77.19 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/1.631, allocations: 169 kB / 1.161 GB, free: 77.19 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/1.631, allocations: 150.3 kB / 1.161 GB, free: 77.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/1.635, allocations: 1.677 MB / 1.162 GB, free: 76.99 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/1.635, allocations: 5.406 kB / 1.162 GB, free: 76.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.635, allocations: 55.69 kB / 1.162 GB, free: 76.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/1.635, allocations: 55.02 kB / 1.162 GB, free: 76.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/1.638, allocations: 1.37 MB / 1.164 GB, free: 76.96 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.01234/1.651, allocations: 7.896 MB / 1.171 GB, free: 72.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/1.653, allocations: 1.024 MB / 1.172 GB, free: 72.61 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/1.654, allocations: 485.9 kB / 1.173 GB, free: 72.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/1.654, allocations: 109.6 kB / 1.173 GB, free: 72.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.654, allocations: 43.06 kB / 1.173 GB, free: 72.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=73): time 2.244e-06/1.654, allocations: 0.9375 kB / 1.173 GB, free: 72.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=73): time 0.004983/1.659, allocations: 1.535 MB / 1.175 GB, free: 72.22 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/1.659, allocations: 62.11 kB / 1.175 GB, free: 72.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/1.662, allocations: 1.796 MB / 1.176 GB, free: 71.93 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002332/1.663, allocations: 51.67 kB / 1.176 GB, free: 71.9 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007801/1.664, allocations: 0.9802 MB / 1.177 GB, free: 71.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/1.664, allocations: 258.4 kB / 1.178 GB, free: 71.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/1.664, allocations: 217 kB / 1.178 GB, free: 71.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/1.664, allocations: 350.1 kB / 1.178 GB, free: 71.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/1.665, allocations: 456.5 kB / 1.179 GB, free: 71.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.667, allocations: 0.838 MB / 1.179 GB, free: 70.63 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/1.669, allocations: 1.213 MB / 1.181 GB, free: 70.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/1.669, allocations: 3.906 kB / 1.181 GB, free: 70.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004785/1.674, allocations: 1.462 MB / 1.182 GB, free: 70.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/1.674, allocations: 10.38 kB / 1.182 GB, free: 70.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.674, allocations: 8.844 kB / 1.182 GB, free: 70.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/1.675, allocations: 72.27 kB / 1.182 GB, free: 70.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.676, allocations: 281.7 kB / 1.182 GB, free: 70.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009504/1.677, allocations: 1.747 MB / 1.184 GB, free: 68.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.679, allocations: 150.8 kB / 1.184 GB, free: 68.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.679, allocations: 54.48 kB / 1.184 GB, free: 68.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001989/1.681, allocations: 0.8198 MB / 1.185 GB, free: 68.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/1.682, allocations: 0.7862 MB / 1.186 GB, free: 67.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00187/1.684, allocations: 1.122 MB / 1.187 GB, free: 67.51 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.169e-05/1.684, allocations: 2.906 kB / 1.187 GB, free: 67.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002909/1.687, allocations: 1.423 MB / 1.188 GB, free: 67.26 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.687, allocations: 10.81 kB / 1.188 GB, free: 67.26 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.687, allocations: 7.625 kB / 1.188 GB, free: 67.26 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/1.687, allocations: 46.7 kB / 1.188 GB, free: 67.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009379/1.688, allocations: 246 kB / 1.189 GB, free: 67.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009734/1.689, allocations: 1.648 MB / 1.19 GB, free: 65.76 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.691, allocations: 120.1 kB / 1.19 GB, free: 65.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.691, allocations: 49.31 kB / 1.19 GB, free: 65.73 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 (117): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003806/1.692, allocations: 249.2 kB / 1.191 GB, free: 65.54 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/1.692, allocations: 190.3 kB / 1.191 GB, free: 65.44 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/1.695, allocations: 1.18 MB / 1.192 GB, free: 65.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.695, allocations: 7.375 kB / 1.192 GB, free: 65.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.695, allocations: 3.938 kB / 1.192 GB, free: 65.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/1.697, allocations: 1.009 MB / 1.193 GB, free: 64.96 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/1.703, allocations: 2.827 MB / 1.196 GB, free: 64.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.703, allocations: 6.438 kB / 1.196 GB, free: 64.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.704, allocations: 214 kB / 1.196 GB, free: 64.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.024e-05/1.705, allocations: 31.72 kB / 1.196 GB, free: 64.37 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/1.705, allocations: 23.58 kB / 1.196 GB, free: 64.37 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.706, allocations: 3.293 MB / 1.199 GB, free: 61.12 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.706, allocations: 5.688 kB / 1.199 GB, free: 61.12 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/1.709, allocations: 1.752 MB / 1.201 GB, free: 60.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/1.71, allocations: 357 kB / 1.201 GB, free: 60.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005161/1.711, allocations: 16.41 kB / 1.201 GB, free: 60.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.712, allocations: 63.12 kB / 1.201 GB, free: 60.49 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.712, allocations: 52.09 kB / 1.201 GB, free: 60.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/1.712, allocations: 30.27 kB / 1.201 GB, free: 60.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00197/1.714, allocations: 1.221 MB / 1.203 GB, free: 60.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.714, allocations: 0 / 1.203 GB, free: 60.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003646/1.718, allocations: 0.9649 MB / 1.204 GB, free: 60.2 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/1.719, allocations: 375.3 kB / 1.204 GB, free: 60.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004401/1.724, allocations: 1.77 MB / 1.206 GB, free: 59.91 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.724, allocations: 1.625 kB / 1.206 GB, free: 59.91 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/1.725, allocations: 0.6009 MB / 1.206 GB, free: 59.78 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/1.731, allocations: 1.066 MB / 1.207 GB, free: 59.7 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/1.738, allocations: 3.5 MB / 1.211 GB, free: 58.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.739, allocations: 1.571 MB / 1.212 GB, free: 57.52 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002356/1.742, allocations: 481.3 kB / 1.213 GB, free: 57.39 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/1.742, allocations: 145.1 kB / 1.213 GB, free: 57.39 MB / 0.92 GB Notification: Performance of SimCode: time 6.41e-07/1.742, allocations: 0 / 1.213 GB, free: 57.39 MB / 0.92 GB Notification: Performance of Templates: time 0.0552/1.797, allocations: 38.92 MB / 1.251 GB, free: 29.71 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)