Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.448/2.448, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001519, allocations: 196.1 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.69 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 58.3 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2901, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1538/0.4439, allocations: 159.3 MB / 1.374 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004993/0.449, allocations: 1.73 MB / 1.375 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.4501, allocations: 15.88 kB / 1.375 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4513, allocations: 127.2 kB / 1.375 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.4537, allocations: 490.1 kB / 1.376 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.4553, allocations: 378.3 kB / 1.376 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.4568, allocations: 0.7565 MB / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005629/0.4574, allocations: 164.4 kB / 1.377 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008368/0.4582, allocations: 286.8 kB / 1.377 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.4586, allocations: 167.2 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.4586, allocations: 11.94 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.4601, allocations: 0.7756 MB / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.4602, allocations: 79.72 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.4604, allocations: 107.4 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.4615, allocations: 0.518 MB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4615, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4615, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.4615, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 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.00105/0.4626, allocations: 0.5878 MB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4626, allocations: 11.98 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.463, allocations: 59.52 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.4635, allocations: 281.4 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.4635, allocations: 12 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.4636, allocations: 19.94 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.464, allocations: 193.5 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.464, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.464, allocations: 8 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.464, allocations: 4 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.4643, allocations: 131.8 kB / 1.38 GB, free: 14.38 MB / 0.8855 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.0012/0.4656, allocations: 0.777 MB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.4658, allocations: 86.47 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.466, allocations: 80.86 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/0.4664, allocations: 182.2 kB / 1.381 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4664, allocations: 42.48 kB / 1.381 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.4664, allocations: 4 kB / 1.381 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0006734/0.4671, allocations: 221.2 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.4672, allocations: 51.41 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.4674, allocations: 267 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.4675, allocations: 29.7 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.4676, allocations: 148 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4676, allocations: 39.45 kB / 1.382 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.4677, allocations: 30.03 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4678, allocations: 334.8 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.468, allocations: 40.83 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.4681, allocations: 105 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.4684, allocations: 115.3 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4684, allocations: 0 / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003405/0.4688, allocations: 161.3 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4688, allocations: 4 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4688, allocations: 0 / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4688, allocations: 7.938 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.469, allocations: 23.92 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.469, allocations: 0 / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4692, allocations: 31.81 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.4692, allocations: 8.031 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001925/0.4694, allocations: 145 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001476/0.4696, allocations: 89.11 kB / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002336/0.4698, allocations: 123.4 kB / 1.383 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.4698, allocations: 4 kB / 1.383 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003091/0.4702, allocations: 153.3 kB / 1.383 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4702, allocations: 8.938 kB / 1.383 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.4702, allocations: 0 / 1.383 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-06/0.4702, allocations: 0 / 1.383 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4703, allocations: 23.92 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4703, allocations: 8.031 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.4705, allocations: 19.89 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4705, allocations: 4 kB / 1.384 GB, free: 10.81 MB / 0.8855 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.0001022/0.4706, allocations: 196.8 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.4707, allocations: 23.72 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.4711, allocations: 167.6 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4711, allocations: 7.938 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4711, allocations: 0 / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4711, allocations: 0 / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000872/0.472, allocations: 0.5823 MB / 1.384 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.472, allocations: 7.938 kB / 1.384 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4721, allocations: 27.98 kB / 1.385 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4721, allocations: 0 / 1.385 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4722, allocations: 4 kB / 1.385 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.4722, allocations: 11.92 kB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4722, allocations: 4.219 kB / 1.385 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.4729, allocations: 0.9284 MB / 1.385 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.4731, allocations: 112.8 kB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.4731, allocations: 4 kB / 1.386 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4733, allocations: 27.83 kB / 1.386 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.4734, allocations: 11.98 kB / 1.386 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4734, allocations: 4 kB / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001767/0.4736, allocations: 194 kB / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4736, allocations: 0 / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007172/0.4743, allocations: 99.83 kB / 1.386 GB, free: 8.223 MB / 0.8855 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.0004864/0.4748, allocations: 164.9 kB / 1.386 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.4753, allocations: 163.8 kB / 1.386 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4753, allocations: 0 / 1.386 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4755, allocations: 63.83 kB / 1.386 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.4763, allocations: 137.3 kB / 1.386 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009559/0.4773, allocations: 0.6344 MB / 1.387 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.4776, allocations: 0.7599 MB / 1.388 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002423/0.4779, allocations: 74.86 kB / 1.388 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.478, allocations: 23.44 kB / 1.388 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/0.478, allocations: 0 / 1.388 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of Templates: time 0.009212/0.4872, allocations: 4.365 MB / 1.392 GB, free: 1.816 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)