Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.713/1.713, allocations: 297.8 MB / 313.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 183.9 kB / 384.6 MB, free: 10.66 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.435/1.435, allocations: 223.2 MB / 0.6626 GB, free: 4.297 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.0008661/0.0008659, allocations: 98.19 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 16 kB / 0.9088 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8193, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/1.03, allocations: 145 MB / 1.168 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.03, allocations: 95.84 kB / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01491/1.045, allocations: 5.572 MB / 1.173 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.875e-06/1.045, allocations: 1.125 kB / 1.173 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.762e-05/1.045, allocations: 7.938 kB / 1.173 GB, free: 11.12 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006308/1.046, allocations: 457.4 kB / 1.174 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.046, allocations: 12.03 kB / 1.174 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/1.046, allocations: 17.36 kB / 1.174 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/1.046, allocations: 265.6 kB / 1.174 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/1.046, allocations: 4.375 kB / 1.174 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/1.046, allocations: 6.141 kB / 1.174 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/1.046, allocations: 130.3 kB / 1.174 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.046, allocations: 2.75 kB / 1.174 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/1.046, allocations: 7.938 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.047, allocations: 4.516 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/1.047, allocations: 190.2 kB / 1.174 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/1.047, allocations: 255.1 kB / 1.175 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/1.048, allocations: 215.1 kB / 1.175 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/1.048, allocations: 68.88 kB / 1.175 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/1.048, allocations: 6.141 kB / 1.175 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/1.048, allocations: 120.2 kB / 1.175 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/1.048, allocations: 0 / 1.175 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005089/1.049, allocations: 263.2 kB / 1.175 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.049, allocations: 79.17 kB / 1.175 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/1.049, allocations: 242.8 kB / 1.176 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/1.049, allocations: 30.33 kB / 1.176 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/1.049, allocations: 113.3 kB / 1.176 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/1.049, allocations: 43.45 kB / 1.176 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/1.049, allocations: 0 / 1.176 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.049, allocations: 331.4 kB / 1.176 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.049, allocations: 60.5 kB / 1.176 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.049, allocations: 85.34 kB / 1.176 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/1.05, allocations: 148.1 kB / 1.176 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.05, allocations: 0 / 1.176 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003335/1.05, allocations: 211.5 kB / 1.177 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.05, allocations: 7.938 kB / 1.177 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.05, allocations: 1.562 kB / 1.177 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/1.05, allocations: 1.156 kB / 1.177 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.05, allocations: 35.92 kB / 1.177 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.05, allocations: 0.5625 kB / 1.177 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/1.05, allocations: 13.84 kB / 1.177 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.05, allocations: 4 kB / 1.177 GB, free: 7.633 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001193/1.05, allocations: 143.3 kB / 1.177 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/1.05, allocations: 21.19 kB / 1.177 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/1.051, allocations: 280.7 kB / 1.177 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.051, allocations: 0 / 1.177 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.051, allocations: 1.281 kB / 1.177 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.051, allocations: 4.875 kB / 1.177 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/1.051, allocations: 281.3 kB / 1.177 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.051, allocations: 0 / 1.177 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.051, allocations: 32.52 kB / 1.177 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.051, allocations: 0.5 kB / 1.177 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/1.051, allocations: 11.94 kB / 1.177 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/1.051, allocations: 4.562 kB / 1.177 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.051, allocations: 1.844 kB / 1.177 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/1.052, allocations: 271.5 kB / 1.178 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/1.052, allocations: 105.5 kB / 1.178 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/1.052, allocations: 13.62 kB / 1.178 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/1.052, allocations: 5.031 kB / 1.178 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/1.052, allocations: 15.97 kB / 1.178 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/1.052, allocations: 10.22 kB / 1.178 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001873/1.052, allocations: 189.5 kB / 1.178 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.052, allocations: 0 / 1.178 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002734/1.053, allocations: 48 kB / 1.178 GB, free: 6.148 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001147/1.054, allocations: 490.7 kB / 1.179 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003153/1.054, allocations: 158 kB / 1.179 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.054, allocations: 0 / 1.179 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/1.054, allocations: 91.89 kB / 1.179 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/1.055, allocations: 33.53 kB / 1.179 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/1.055, allocations: 378.7 kB / 1.179 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/1.055, allocations: 0.7328 MB / 1.18 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001284/1.056, allocations: 51.47 kB / 1.18 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/1.056, allocations: 35.41 kB / 1.18 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.056, allocations: 0 / 1.18 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.00619/1.062, allocations: 3.032 MB / 1.183 GB, free: 1.52 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)