Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.705/1.705, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009884/0.0009881, allocations: 167.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008448/0.0008448, allocations: 97.16 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004352, allocations: 12 kB / 0.9088 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.6554, allocations: 120.3 MB / 1.026 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.761, allocations: 445.1 MB / 1.461 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/1.762, allocations: 90.58 kB / 1.461 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.95/4.712, allocations: 0.9711 GB / 2.432 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.743e-06/4.712, allocations: 0 / 2.432 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003103/4.712, allocations: 51.98 kB / 2.432 GB, free: 11.69 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.008377/4.72, allocations: 2.69 MB / 2.435 GB, free: 8.938 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/4.72, allocations: 12.03 kB / 2.435 GB, free: 8.926 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/4.722, allocations: 262 kB / 2.435 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6183/5.34, allocations: 13.9 MB / 2.449 GB, free: 95.28 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/5.34, allocations: 103 kB / 2.449 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/5.34, allocations: 139.6 kB / 2.449 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/5.343, allocations: 1.454 MB / 2.45 GB, free: 95.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/5.343, allocations: 9.812 kB / 2.45 GB, free: 95.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/5.343, allocations: 61.06 kB / 2.45 GB, free: 95.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/5.343, allocations: 36.06 kB / 2.45 GB, free: 95.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/5.345, allocations: 0.9975 MB / 2.451 GB, free: 95 MB / 0.9948 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.008147/5.354, allocations: 8.028 MB / 2.459 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/5.355, allocations: 0.7558 MB / 2.46 GB, free: 90.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/5.355, allocations: 364.7 kB / 2.46 GB, free: 90.23 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/5.357, allocations: 2.82 MB / 2.463 GB, free: 87.04 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/5.357, allocations: 40.5 kB / 2.463 GB, free: 87 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=83): time 3.426e-06/5.357, allocations: 0 / 2.463 GB, free: 87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=83): time 0.002077/5.359, allocations: 1.123 MB / 2.464 GB, free: 86.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/5.359, allocations: 58.38 kB / 2.464 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/5.361, allocations: 1.568 MB / 2.466 GB, free: 86.58 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/5.361, allocations: 44.14 kB / 2.466 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/5.362, allocations: 0.9429 MB / 2.467 GB, free: 86.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/5.362, allocations: 295.2 kB / 2.467 GB, free: 86.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/5.362, allocations: 20.72 kB / 2.467 GB, free: 86.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/5.362, allocations: 354.8 kB / 2.467 GB, free: 85.84 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/5.363, allocations: 314.9 kB / 2.468 GB, free: 85.83 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/5.363, allocations: 0.7132 MB / 2.468 GB, free: 85.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/5.365, allocations: 1.08 MB / 2.469 GB, free: 84.93 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/5.365, allocations: 1.688 kB / 2.469 GB, free: 84.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002073/5.367, allocations: 1.242 MB / 2.471 GB, free: 84.79 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/5.367, allocations: 440.7 kB / 2.471 GB, free: 84.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/5.367, allocations: 18.08 kB / 2.471 GB, free: 84.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/5.367, allocations: 17.59 kB / 2.471 GB, free: 84.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/5.368, allocations: 268 kB / 2.471 GB, free: 84.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/5.368, allocations: 24.28 kB / 2.471 GB, free: 84.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/5.369, allocations: 201.3 kB / 2.472 GB, free: 84.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/5.37, allocations: 68.95 kB / 2.472 GB, free: 84.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/5.37, allocations: 3.531 kB / 2.472 GB, free: 84.25 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/5.371, allocations: 1.044 MB / 2.473 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/5.371, allocations: 19.91 kB / 2.473 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/5.371, allocations: 21.91 kB / 2.473 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/5.372, allocations: 262.7 kB / 2.473 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/5.372, allocations: 24.22 kB / 2.473 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/5.373, allocations: 177.3 kB / 2.473 GB, free: 84.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.752e-05/5.373, allocations: 66.27 kB / 2.473 GB, free: 84.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009698/5.374, allocations: 471.7 kB / 2.474 GB, free: 84.01 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/5.375, allocations: 189.2 kB / 2.474 GB, free: 83.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/5.377, allocations: 1.69 MB / 2.475 GB, free: 83.81 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/5.377, allocations: 20.75 kB / 2.476 GB, free: 83.81 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/5.377, allocations: 3.938 kB / 2.476 GB, free: 83.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/5.379, allocations: 1.139 MB / 2.477 GB, free: 83.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/5.383, allocations: 3.416 MB / 2.48 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/5.383, allocations: 13.5 kB / 2.48 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/5.384, allocations: 202 kB / 2.48 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/5.384, allocations: 9.438 kB / 2.48 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/5.384, allocations: 43.67 kB / 2.48 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/5.384, allocations: 14.09 kB / 2.48 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/5.384, allocations: 12.95 kB / 2.48 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/5.387, allocations: 2.21 MB / 2.482 GB, free: 82.43 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/5.388, allocations: 446.9 kB / 2.483 GB, free: 82.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/5.388, allocations: 29.62 kB / 2.483 GB, free: 82.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/5.389, allocations: 99.66 kB / 2.483 GB, free: 82.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/5.389, allocations: 117.4 kB / 2.483 GB, free: 82.22 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/5.389, allocations: 60.12 kB / 2.483 GB, free: 82.22 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001333/5.39, allocations: 1.041 MB / 2.484 GB, free: 82.07 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.71e-07/5.39, allocations: 2.938 kB / 2.484 GB, free: 82.07 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003064/5.393, allocations: 1.166 MB / 2.485 GB, free: 82.03 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (128): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.002027/5.395, allocations: 1.266 MB / 2.487 GB, free: 81.82 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002632/5.398, allocations: 1.792 MB / 2.488 GB, free: 81.54 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/5.398, allocations: 6.406 kB / 2.488 GB, free: 81.54 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/5.399, allocations: 0.7997 MB / 2.489 GB, free: 81.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005246/5.404, allocations: 0.9013 MB / 2.49 GB, free: 81.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/5.41, allocations: 4.473 MB / 2.494 GB, free: 79.35 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/5.41, allocations: 1.426 MB / 2.496 GB, free: 78.62 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002014/5.412, allocations: 0.5421 MB / 2.496 GB, free: 78.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/5.413, allocations: 182.6 kB / 2.496 GB, free: 78.59 MB / 0.9948 GB Notification: Performance of SimCode: time 8.62e-07/5.413, allocations: 0 / 2.496 GB, free: 78.59 MB / 0.9948 GB Notification: Performance of Templates: time 0.07475/5.488, allocations: 44.52 MB / 2.54 GB, free: 76.82 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)