Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 101.3 kB / 16.52 MB, free: 6.27 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.001065/0.001065, allocations: 192.5 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7077/0.7077, allocations: 115.3 MB / 406.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 493.5 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3804, allocations: 76.17 MB / 0.5564 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1706/0.551, allocations: 159.3 MB / 0.7119 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.554, allocations: 1.726 MB / 0.7136 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.5543, allocations: 7.938 kB / 0.7136 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.5549, allocations: 127.2 kB / 0.7137 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.5562, allocations: 498 kB / 0.7142 GB, free: 2.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.5572, allocations: 368.3 kB / 0.7145 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.5581, allocations: 0.7682 MB / 0.7153 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.5584, allocations: 152.5 kB / 0.7154 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.5589, allocations: 294.8 kB / 0.7157 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.5591, allocations: 159.2 kB / 0.7159 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.5592, allocations: 8 kB / 0.7159 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.5603, allocations: 0.7755 MB / 0.7166 GB, free: 80 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.5605, allocations: 83.75 kB / 0.7167 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.5606, allocations: 107.3 kB / 0.7168 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.5611, allocations: 351.3 kB / 0.7171 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5611, allocations: 0 / 0.7171 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5611, allocations: 0 / 0.7171 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5611, allocations: 0 / 0.7171 GB, free: 15.55 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000839/0.5619, allocations: 0.582 MB / 0.7177 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.562, allocations: 11.97 kB / 0.7177 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.5623, allocations: 59.67 kB / 0.7178 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.5627, allocations: 297.2 kB / 0.7181 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5627, allocations: 12 kB / 0.7181 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.5627, allocations: 12 kB / 0.7181 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.5631, allocations: 192.1 kB / 0.7183 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5631, allocations: 0 / 0.7183 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.5632, allocations: 8 kB / 0.7183 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5632, allocations: 0 / 0.7183 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.5635, allocations: 143.8 kB / 0.7184 GB, free: 14.14 MB / 0.5606 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.0009827/0.5645, allocations: 0.7731 MB / 0.7192 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.5647, allocations: 86.47 kB / 0.7192 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.5649, allocations: 84.78 kB / 0.7193 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.5653, allocations: 194.2 kB / 0.7195 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.5653, allocations: 30.56 kB / 0.7195 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.5653, allocations: 0 / 0.7195 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006805/0.566, allocations: 221.2 kB / 0.7198 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.566, allocations: 55.41 kB / 0.7198 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.5663, allocations: 267 kB / 0.7201 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.5663, allocations: 25.7 kB / 0.7201 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.5664, allocations: 148 kB / 0.7202 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.5665, allocations: 35.45 kB / 0.7203 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.5665, allocations: 25.72 kB / 0.7203 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5666, allocations: 338.8 kB / 0.7206 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.5668, allocations: 52.81 kB / 0.7207 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.567, allocations: 89.05 kB / 0.7207 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.5672, allocations: 131.2 kB / 0.7209 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5672, allocations: 0 / 0.7209 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003194/0.5676, allocations: 157.3 kB / 0.721 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5676, allocations: 8 kB / 0.721 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5676, allocations: 0 / 0.721 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5676, allocations: 3.938 kB / 0.721 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.5677, allocations: 31.95 kB / 0.7211 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5678, allocations: 3.984 kB / 0.7211 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5679, allocations: 15.98 kB / 0.7211 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.568, allocations: 8 kB / 0.7211 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001806/0.5682, allocations: 144.1 kB / 0.7212 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001489/0.5683, allocations: 93.66 kB / 0.7213 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002171/0.5685, allocations: 115.5 kB / 0.7214 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-06/0.5686, allocations: 0 / 0.7214 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003029/0.5689, allocations: 165.2 kB / 0.7216 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.5689, allocations: 4 kB / 0.7216 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.5689, allocations: 0 / 0.7216 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.5689, allocations: 4 kB / 0.7216 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.569, allocations: 27.86 kB / 0.7216 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.569, allocations: 0 / 0.7216 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.5692, allocations: 19.92 kB / 0.7216 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.5692, allocations: 11.98 kB / 0.7216 GB, free: 10.56 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.5693, allocations: 189.2 kB / 0.7218 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.5694, allocations: 23.72 kB / 0.7218 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.5697, allocations: 159.5 kB / 0.722 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5698, allocations: 0 / 0.722 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5698, allocations: 0 / 0.722 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5698, allocations: 3.984 kB / 0.722 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/0.5706, allocations: 0.5936 MB / 0.7226 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5706, allocations: 8.219 kB / 0.7226 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5707, allocations: 23.97 kB / 0.7226 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.5708, allocations: 4 kB / 0.7226 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5708, allocations: 8 kB / 0.7226 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5708, allocations: 128 / 0.7226 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.5708, allocations: 11.94 kB / 0.7226 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.5712, allocations: 293 kB / 0.7229 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5713, allocations: 120.7 kB / 0.723 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.5713, allocations: 4 kB / 0.723 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.5715, allocations: 15.98 kB / 0.7231 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.5716, allocations: 15.92 kB / 0.7231 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5716, allocations: 8 kB / 0.7231 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001733/0.5718, allocations: 193.9 kB / 0.7233 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5718, allocations: 0 / 0.7233 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000453/0.5722, allocations: 95.84 kB / 0.7234 GB, free: 8.664 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003744/0.5726, allocations: 165.1 kB / 0.7235 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.5731, allocations: 160.3 kB / 0.7237 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5731, allocations: 4 kB / 0.7237 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.5732, allocations: 68.2 kB / 0.7237 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.5741, allocations: 125.9 kB / 0.7239 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.5748, allocations: 0.5162 MB / 0.7244 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.5751, allocations: 0.756 MB / 0.7251 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.5752, allocations: 23.44 kB / 0.7251 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of SimCode: time 2.164e-06/0.5752, allocations: 0 / 0.7251 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of Templates: time 0.005876/0.5811, allocations: 3.747 MB / 0.7288 GB, free: 3.09 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)