Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007322/0.0007323, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008025/0.0008025, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 266.2 kB / 291.3 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9785/0.9785, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.000474, allocations: 16.09 kB / 0.598 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2007, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.6494/0.8501, allocations: 146.6 MB / 0.8277 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.8533, allocations: 1.608 MB / 0.8292 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.8536, allocations: 9.438 kB / 0.8293 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.8541, allocations: 107.9 kB / 0.8294 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.8554, allocations: 380.3 kB / 0.8297 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.8566, allocations: 362.9 kB / 0.8301 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008889/0.8575, allocations: 0.6443 MB / 0.8307 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.8578, allocations: 132.7 kB / 0.8308 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.8585, allocations: 263.1 kB / 0.8311 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.8587, allocations: 155.7 kB / 0.8312 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.8587, allocations: 6.406 kB / 0.8312 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.8598, allocations: 0.5229 MB / 0.8317 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.8599, allocations: 76.28 kB / 0.8318 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.86, allocations: 69.17 kB / 0.8319 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.8605, allocations: 328.5 kB / 0.8322 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8605, allocations: 0 / 0.8322 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8605, allocations: 0 / 0.8322 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.8605, allocations: 0 / 0.8322 GB, free: 12.1 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.0008075/0.8613, allocations: 0.5433 MB / 0.8327 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.8614, allocations: 8.25 kB / 0.8327 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.8617, allocations: 56.11 kB / 0.8328 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.8621, allocations: 286.5 kB / 0.8331 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.8621, allocations: 10.16 kB / 0.8331 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.8622, allocations: 11.62 kB / 0.8331 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.8625, allocations: 209.5 kB / 0.8333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8626, allocations: 0.5 kB / 0.8333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.8626, allocations: 5.125 kB / 0.8333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8626, allocations: 3.312 kB / 0.8333 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.8629, allocations: 138.7 kB / 0.8334 GB, free: 11.19 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.0009879/0.8639, allocations: 0.7866 MB / 0.8342 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.8641, allocations: 90.97 kB / 0.8343 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.8643, allocations: 84.45 kB / 0.8343 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.8646, allocations: 190 kB / 0.8345 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.8647, allocations: 41.8 kB / 0.8346 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.8647, allocations: 3.938 kB / 0.8346 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006272/0.8653, allocations: 232.5 kB / 0.8348 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.8654, allocations: 51.41 kB / 0.8348 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.8656, allocations: 266.3 kB / 0.8351 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.8657, allocations: 35.89 kB / 0.8351 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.8658, allocations: 143.8 kB / 0.8353 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.8658, allocations: 37.36 kB / 0.8353 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.8658, allocations: 0 / 0.8353 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8659, allocations: 334.9 kB / 0.8356 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.8661, allocations: 44.84 kB / 0.8357 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.8662, allocations: 98.83 kB / 0.8358 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.8663, allocations: 57.39 kB / 0.8358 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8664, allocations: 0 / 0.8358 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003092/0.8667, allocations: 164.6 kB / 0.836 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.8667, allocations: 111.3 kB / 0.8361 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8668, allocations: 3.984 kB / 0.8361 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8668, allocations: 6.984 kB / 0.8361 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.8669, allocations: 34.78 kB / 0.8361 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8669, allocations: 3.984 kB / 0.8361 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.8671, allocations: 24.11 kB / 0.8362 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.8671, allocations: 5.156 kB / 0.8362 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.8671, allocations: 2.812 kB / 0.8362 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002451/0.8674, allocations: 121.6 kB / 0.8363 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.8674, allocations: 0 / 0.8363 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.8674, allocations: 5.312 kB / 0.8363 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.8675, allocations: 26.08 kB / 0.8363 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.8675, allocations: 0 / 0.8363 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.8677, allocations: 27.7 kB / 0.8363 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.8677, allocations: 6.531 kB / 0.8363 GB, free: 9.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.8679, allocations: 219.3 kB / 0.8365 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.8679, allocations: 20.88 kB / 0.8366 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.8683, allocations: 175.5 kB / 0.8367 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.8683, allocations: 2.938 kB / 0.8367 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8683, allocations: 0 / 0.8367 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.8683, allocations: 3.984 kB / 0.8367 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.8691, allocations: 0.6074 MB / 0.8373 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8692, allocations: 7.406 kB / 0.8373 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.8693, allocations: 21.73 kB / 0.8374 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8693, allocations: 1.781 kB / 0.8374 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.8693, allocations: 5.188 kB / 0.8374 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.8693, allocations: 2.969 kB / 0.8374 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.8693, allocations: 10.64 kB / 0.8374 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.8697, allocations: 309.3 kB / 0.8377 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.8698, allocations: 111.4 kB / 0.8378 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.8698, allocations: 8.078 kB / 0.8378 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.87, allocations: 18.64 kB / 0.8378 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.8701, allocations: 18 kB / 0.8378 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.8701, allocations: 2.625 kB / 0.8378 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001691/0.8703, allocations: 196.5 kB / 0.838 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8703, allocations: 0 / 0.838 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004465/0.8707, allocations: 93.28 kB / 0.8381 GB, free: 7.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004149/0.8712, allocations: 170.5 kB / 0.8383 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.8716, allocations: 180 kB / 0.8384 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8716, allocations: 0 / 0.8384 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.8718, allocations: 77.52 kB / 0.8385 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.8725, allocations: 119.9 kB / 0.8386 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.8733, allocations: 0.5011 MB / 0.8391 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.8736, allocations: 0.7531 MB / 0.8399 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.8739, allocations: 78.69 kB / 0.8399 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.8739, allocations: 18.78 kB / 0.8399 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.8739, allocations: 0 / 0.8399 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.008275/0.8822, allocations: 4.141 MB / 0.844 GB, free: 4.465 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)