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.001408/0.001408, allocations: 108.5 kB / 17.03 MB, free: 5.656 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.001477/0.001477, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.503/1.503, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7146/0.7146, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 63.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3689, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1681/0.537, allocations: 161.5 MB / 0.7153 GB, free: 2.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003082/0.5402, allocations: 1.706 MB / 0.7169 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.5406, allocations: 11.94 kB / 0.7169 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.5412, allocations: 162.9 kB / 0.7171 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.5427, allocations: 0.5094 MB / 0.7176 GB, free: 140 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.544, allocations: 428.5 kB / 0.718 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008931/0.5449, allocations: 0.5654 MB / 0.7186 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.5453, allocations: 180.5 kB / 0.7187 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.546, allocations: 318.7 kB / 0.719 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.5463, allocations: 151.3 kB / 0.7192 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.5463, allocations: 16 kB / 0.7192 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.5476, allocations: 0.6976 MB / 0.7199 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.5477, allocations: 83.67 kB / 0.72 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.5479, allocations: 111.4 kB / 0.7201 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009057/0.5488, allocations: 0.4964 MB / 0.7205 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5488, allocations: 0 / 0.7205 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5488, allocations: 0 / 0.7205 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.5489, allocations: 0 / 0.7205 GB, free: 13.12 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.0009685/0.5498, allocations: 0.5878 MB / 0.7211 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5499, allocations: 8.031 kB / 0.7211 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.5503, allocations: 55.61 kB / 0.7212 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.5508, allocations: 309.2 kB / 0.7215 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5508, allocations: 19.94 kB / 0.7215 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.5509, allocations: 16 kB / 0.7215 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.5513, allocations: 184.2 kB / 0.7217 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5513, allocations: 3.938 kB / 0.7217 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.5513, allocations: 7.984 kB / 0.7217 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5513, allocations: 4 kB / 0.7217 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.5517, allocations: 131.8 kB / 0.7218 GB, free: 11.7 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.001115/0.5528, allocations: 0.7769 MB / 0.7226 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.5531, allocations: 82.53 kB / 0.7227 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5532, allocations: 80.86 kB / 0.7227 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.5535, allocations: 190.1 kB / 0.7229 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.5535, allocations: 38.56 kB / 0.723 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.5536, allocations: 0 / 0.723 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006697/0.5542, allocations: 217.2 kB / 0.7232 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.5543, allocations: 51.41 kB / 0.7232 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.5546, allocations: 267 kB / 0.7235 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.5546, allocations: 37.69 kB / 0.7235 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.5547, allocations: 144 kB / 0.7236 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.5548, allocations: 31.47 kB / 0.7237 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.5548, allocations: 33.7 kB / 0.7237 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.555, allocations: 334.8 kB / 0.724 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.5551, allocations: 40.83 kB / 0.7241 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5553, allocations: 101 kB / 0.7242 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.5555, allocations: 111.9 kB / 0.7243 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5555, allocations: 4 kB / 0.7243 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000373/0.5559, allocations: 169.3 kB / 0.7244 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.556, allocations: 4 kB / 0.7244 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.556, allocations: 64 / 0.7244 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.556, allocations: 11.94 kB / 0.7244 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.5561, allocations: 23.92 kB / 0.7245 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5561, allocations: 0 / 0.7245 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.5563, allocations: 15.98 kB / 0.7245 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.5564, allocations: 12.03 kB / 0.7245 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001912/0.5566, allocations: 152 kB / 0.7246 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001446/0.5567, allocations: 85.11 kB / 0.7247 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002246/0.5569, allocations: 119.3 kB / 0.7248 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.5569, allocations: 3.938 kB / 0.7248 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003097/0.5573, allocations: 157.3 kB / 0.725 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.5573, allocations: 4 kB / 0.725 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.5573, allocations: 0 / 0.725 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.5573, allocations: 4 kB / 0.725 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5574, allocations: 27.86 kB / 0.725 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.5574, allocations: 4.031 kB / 0.725 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.5576, allocations: 23.91 kB / 0.7251 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.5576, allocations: 8 kB / 0.7251 GB, free: 8.125 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 0.0001013/0.5577, allocations: 180.3 kB / 0.7252 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.5578, allocations: 23.72 kB / 0.7253 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.5581, allocations: 171.2 kB / 0.7254 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.5582, allocations: 0 / 0.7254 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5582, allocations: 0 / 0.7254 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5582, allocations: 0 / 0.7254 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009257/0.5591, allocations: 0.59 MB / 0.726 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5591, allocations: 48 / 0.726 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5592, allocations: 35.91 kB / 0.726 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5593, allocations: 4 kB / 0.726 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5593, allocations: 0 / 0.726 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5593, allocations: 4 kB / 0.726 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5593, allocations: 3.984 kB / 0.726 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.5597, allocations: 309.5 kB / 0.7263 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5598, allocations: 112.8 kB / 0.7264 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.5598, allocations: 8 kB / 0.7264 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.56, allocations: 11.98 kB / 0.7265 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.5601, allocations: 15.92 kB / 0.7265 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.5601, allocations: 8.062 kB / 0.7265 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001816/0.5603, allocations: 201.9 kB / 0.7267 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5603, allocations: 0 / 0.7267 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004646/0.5608, allocations: 95.84 kB / 0.7268 GB, free: 6.223 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.0003622/0.5611, allocations: 163 kB / 0.7269 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.5616, allocations: 171.8 kB / 0.7271 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5616, allocations: 0 / 0.7271 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.5618, allocations: 59.84 kB / 0.7271 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.5625, allocations: 118.1 kB / 0.7273 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/0.5633, allocations: 445 kB / 0.7277 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.5637, allocations: 0.7558 MB / 0.7284 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.5639, allocations: 69.88 kB / 0.7285 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.564, allocations: 23.44 kB / 0.7285 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.564, allocations: 0 / 0.7285 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.009557/0.5736, allocations: 4.366 MB / 0.7328 GB, free: 92 kB / 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)