Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.776/1.776, allocations: 297.8 MB / 313.7 MB, free: 136 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.001146/0.001146, allocations: 184.5 kB / 384.6 MB, free: 10.86 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.519/1.519, allocations: 223.2 MB / 0.6626 GB, free: 4.332 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.0008786/0.0008786, allocations: 100.6 kB / 0.7808 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004295, allocations: 15.94 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/0.7076, allocations: 120.3 MB / 1.026 GB, free: 57.14 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.803, allocations: 461.2 MB / 1.477 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.803, allocations: 104.6 kB / 1.477 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.531/5.334, allocations: 1.034 GB / 2.511 GB, free: 129.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.086e-06/5.334, allocations: 0.8125 kB / 2.511 GB, free: 129.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004472/5.334, allocations: 52.11 kB / 2.511 GB, free: 129.8 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.01012/5.344, allocations: 2.396 MB / 2.513 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/5.345, allocations: 9.562 kB / 2.513 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/5.348, allocations: 428.3 kB / 2.514 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/5.371, allocations: 8.246 MB / 2.522 GB, free: 128.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/5.371, allocations: 95.22 kB / 2.522 GB, free: 128.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005456/5.372, allocations: 131.1 kB / 2.522 GB, free: 128.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/5.376, allocations: 1.437 MB / 2.523 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.781e-05/5.376, allocations: 7.188 kB / 2.523 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/5.377, allocations: 58.19 kB / 2.523 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/5.377, allocations: 28.88 kB / 2.523 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/5.38, allocations: 1.089 MB / 2.525 GB, free: 127.9 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.01121/5.391, allocations: 7.873 MB / 2.532 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/5.394, allocations: 1.08 MB / 2.533 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/5.395, allocations: 442.7 kB / 2.534 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/5.397, allocations: 1.87 MB / 2.536 GB, free: 121 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/5.398, allocations: 0.4956 MB / 2.536 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 4.208e-06/5.398, allocations: 0 / 2.536 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.003518/5.401, allocations: 1.303 MB / 2.537 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/5.401, allocations: 88.61 kB / 2.537 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/5.405, allocations: 1.371 MB / 2.539 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/5.405, allocations: 46.86 kB / 2.539 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/5.406, allocations: 0.8129 MB / 2.54 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/5.406, allocations: 294.2 kB / 2.54 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/5.406, allocations: 24.12 kB / 2.54 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/5.406, allocations: 350.6 kB / 2.54 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/5.407, allocations: 363.6 kB / 2.541 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/5.408, allocations: 0.7089 MB / 2.541 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/5.41, allocations: 1.074 MB / 2.542 GB, free: 119 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/5.41, allocations: 2.531 kB / 2.542 GB, free: 119 MB / 0.9948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003375/5.414, allocations: 1.254 MB / 2.543 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/5.414, allocations: 359.7 kB / 2.544 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/5.414, allocations: 13.77 kB / 2.544 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.106e-05/5.414, allocations: 15.03 kB / 2.544 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/5.415, allocations: 255.4 kB / 2.544 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.404e-05/5.415, allocations: 21.14 kB / 2.544 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/5.417, allocations: 205.2 kB / 2.544 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/5.418, allocations: 55.23 kB / 2.544 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/5.418, allocations: 6 kB / 2.544 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002522/5.42, allocations: 1.086 MB / 2.545 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/5.42, allocations: 10.31 kB / 2.545 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/5.42, allocations: 14.22 kB / 2.545 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/5.421, allocations: 265.1 kB / 2.546 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/5.421, allocations: 23.16 kB / 2.546 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/5.423, allocations: 185 kB / 2.546 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/5.423, allocations: 56.36 kB / 2.546 GB, free: 118.3 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001224/5.425, allocations: 449.4 kB / 2.546 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006615/5.425, allocations: 166.1 kB / 2.547 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/5.429, allocations: 1.511 MB / 2.548 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/5.429, allocations: 15.25 kB / 2.548 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/5.429, allocations: 3.703 kB / 2.548 GB, free: 118 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002179/5.431, allocations: 1.129 MB / 2.549 GB, free: 117.8 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 postOpt removeSimpleEquations (simulation): time 0.006415/5.438, allocations: 2.894 MB / 2.552 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/5.438, allocations: 3.75 kB / 2.552 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/5.438, allocations: 198.3 kB / 2.552 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/5.438, allocations: 6.281 kB / 2.552 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/5.438, allocations: 31.08 kB / 2.552 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/5.438, allocations: 6.594 kB / 2.552 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/5.439, allocations: 9.219 kB / 2.552 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/5.442, allocations: 1.953 MB / 2.554 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/5.443, allocations: 396.8 kB / 2.555 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005555/5.444, allocations: 23.41 kB / 2.555 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/5.445, allocations: 125.8 kB / 2.555 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/5.446, allocations: 82.53 kB / 2.555 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/5.446, allocations: 54.78 kB / 2.555 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002245/5.448, allocations: 0.9195 MB / 2.556 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.21e-07/5.448, allocations: 0 / 2.556 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004626/5.453, allocations: 1.026 MB / 2.557 GB, free: 116.6 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.003009/5.456, allocations: 1.331 MB / 2.558 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003539/5.459, allocations: 1.719 MB / 2.56 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/5.459, allocations: 0 / 2.56 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/5.46, allocations: 0.6328 MB / 2.56 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/5.465, allocations: 0.7372 MB / 2.561 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/5.473, allocations: 4.012 MB / 2.565 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/5.474, allocations: 1.325 MB / 2.566 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002344/5.477, allocations: 448.7 kB / 2.567 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/5.477, allocations: 160 kB / 2.567 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of SimCode: time 9.61e-07/5.477, allocations: 4.5 kB / 2.567 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of Templates: time 0.06218/5.539, allocations: 36.6 MB / 2.603 GB, free: 111.9 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)