Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001068/0.001068, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001042/0.001042, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.419/1.419, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.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.627/1.627, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001488/0.001488, allocations: 70.06 kB / 0.6716 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2197, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6289/0.8486, allocations: 159.3 MB / 0.9391 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.8517, allocations: 1.682 MB / 0.9407 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.8522, allocations: 11.12 kB / 0.9407 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.8529, allocations: 138.7 kB / 0.9409 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.8544, allocations: 495.3 kB / 0.9413 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.8558, allocations: 385.5 kB / 0.9417 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000904/0.8567, allocations: 0.5697 MB / 0.9423 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.857, allocations: 168.4 kB / 0.9424 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.8577, allocations: 316.5 kB / 0.9427 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.858, allocations: 160.6 kB / 0.9429 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.858, allocations: 15 kB / 0.9429 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.8594, allocations: 0.7148 MB / 0.9436 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.8596, allocations: 76.23 kB / 0.9437 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.8597, allocations: 115.3 kB / 0.9438 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.8604, allocations: 362 kB / 0.9441 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.8604, allocations: 0 / 0.9441 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8604, allocations: 0 / 0.9441 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8604, allocations: 0 / 0.9441 GB, free: 5.852 MB / 0.7325 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.001146/0.8616, allocations: 0.5858 MB / 0.9447 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.8616, allocations: 10.25 kB / 0.9447 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.862, allocations: 52.05 kB / 0.9447 GB, free: 21.37 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.8624, allocations: 291.7 kB / 0.945 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.8624, allocations: 15 kB / 0.945 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.8624, allocations: 12.62 kB / 0.9451 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.8629, allocations: 193.9 kB / 0.9452 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8629, allocations: 0 / 0.9452 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.8629, allocations: 10 kB / 0.9452 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.8629, allocations: 2.625 kB / 0.9453 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.8632, allocations: 132.5 kB / 0.9454 GB, free: 21.07 MB / 0.7481 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.001079/0.8643, allocations: 0.78 MB / 0.9461 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.8645, allocations: 85.5 kB / 0.9462 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.8647, allocations: 77.64 kB / 0.9463 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/0.8651, allocations: 193.2 kB / 0.9465 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.8651, allocations: 36.75 kB / 0.9465 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.8651, allocations: 0 / 0.9465 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006795/0.8658, allocations: 220.2 kB / 0.9467 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.8659, allocations: 58.03 kB / 0.9468 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.8661, allocations: 267.6 kB / 0.947 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.8662, allocations: 28.33 kB / 0.9471 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.8663, allocations: 144.5 kB / 0.9472 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.8663, allocations: 35.47 kB / 0.9472 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.8664, allocations: 31.56 kB / 0.9473 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.8665, allocations: 331 kB / 0.9476 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.8667, allocations: 56.56 kB / 0.9476 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.8669, allocations: 86.28 kB / 0.9477 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.8671, allocations: 127.8 kB / 0.9478 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8671, allocations: 0 / 0.9478 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003408/0.8675, allocations: 157.4 kB / 0.948 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.8675, allocations: 9.406 kB / 0.948 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.8675, allocations: 0.75 kB / 0.948 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.8675, allocations: 4.906 kB / 0.948 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.8677, allocations: 27.23 kB / 0.948 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8677, allocations: 8.203 kB / 0.948 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.8679, allocations: 20.45 kB / 0.9481 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.8679, allocations: 5.781 kB / 0.9481 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001975/0.8681, allocations: 144.8 kB / 0.9482 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001495/0.8683, allocations: 94.91 kB / 0.9483 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002231/0.8685, allocations: 117.4 kB / 0.9484 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.8685, allocations: 1.438 kB / 0.9484 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003076/0.8688, allocations: 156.9 kB / 0.9486 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.8689, allocations: 10.5 kB / 0.9486 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8689, allocations: 0.75 kB / 0.9486 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-06/0.8689, allocations: 7.078 kB / 0.9486 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.869, allocations: 19.8 kB / 0.9486 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.869, allocations: 4.594 kB / 0.9486 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.8692, allocations: 18.89 kB / 0.9486 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.8692, allocations: 7.719 kB / 0.9486 GB, free: 19.22 MB / 0.7481 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.0001346/0.8693, allocations: 193 kB / 0.9488 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.8694, allocations: 30.16 kB / 0.9488 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.8698, allocations: 158.5 kB / 0.949 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8698, allocations: 3.938 kB / 0.949 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8698, allocations: 0 / 0.949 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.8698, allocations: 1.609 kB / 0.949 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.8707, allocations: 0.5924 MB / 0.9496 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8708, allocations: 1.922 kB / 0.9496 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.8709, allocations: 25.45 kB / 0.9496 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.8709, allocations: 4.875 kB / 0.9496 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.8709, allocations: 1.781 kB / 0.9496 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8709, allocations: 4.859 kB / 0.9496 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8709, allocations: 6.484 kB / 0.9496 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.8713, allocations: 294.6 kB / 0.9499 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.8714, allocations: 117.9 kB / 0.95 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.8715, allocations: 9.094 kB / 0.95 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.8717, allocations: 17.53 kB / 0.95 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.8717, allocations: 11.31 kB / 0.95 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8718, allocations: 9.438 kB / 0.95 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002044/0.872, allocations: 195 kB / 0.9502 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.872, allocations: 0 / 0.9502 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005462/0.8725, allocations: 93.45 kB / 0.9503 GB, free: 18.2 MB / 0.7481 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.0004495/0.873, allocations: 176.7 kB / 0.9505 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.8735, allocations: 165.7 kB / 0.9506 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8736, allocations: 0 / 0.9506 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.8737, allocations: 63.64 kB / 0.9507 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.8745, allocations: 121.9 kB / 0.9508 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.8753, allocations: 0.5314 MB / 0.9513 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.8757, allocations: 0.7553 MB / 0.9521 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.8757, allocations: 20.28 kB / 0.9521 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.8757, allocations: 0.6875 kB / 0.9521 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.007735/0.8835, allocations: 3.696 MB / 0.9557 GB, free: 16.67 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)