Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7559/0.7559, allocations: 140.1 MB / 156 MB, free: 8.426 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 178.9 kB / 188.5 MB, free: 8.996 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 426.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 94.34 kB / 0.4945 GB, free: 8.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001683/0.001683, allocations: 260.8 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 16 kB / 0.662 GB, free: 6.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3673, allocations: 79.29 MB / 0.7395 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7587/1.126, allocations: 410 MB / 1.14 GB, free: 12 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.126, allocations: 99.52 kB / 1.14 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.547/2.674, allocations: 465.6 MB / 1.595 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.275e-06/2.674, allocations: 3.156 kB / 1.595 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001709/2.674, allocations: 26.27 kB / 1.595 GB, free: 112.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004396/2.678, allocations: 1.625 MB / 1.596 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/2.678, allocations: 10.97 kB / 1.596 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/2.679, allocations: 135.4 kB / 1.596 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/2.695, allocations: 7.489 MB / 1.604 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/2.695, allocations: 50.94 kB / 1.604 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/2.695, allocations: 79.84 kB / 1.604 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/2.697, allocations: 0.766 MB / 1.605 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/2.697, allocations: 0 / 1.605 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/2.697, allocations: 32 kB / 1.605 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/2.697, allocations: 16 kB / 1.605 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/2.698, allocations: 0.5532 MB / 1.605 GB, free: 101.7 MB / 0.6823 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.005174/2.703, allocations: 3.899 MB / 1.609 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008278/2.704, allocations: 469.9 kB / 1.609 GB, free: 97.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/2.704, allocations: 204.8 kB / 1.61 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009493/2.705, allocations: 1.511 MB / 1.611 GB, free: 95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/2.705, allocations: 44.44 kB / 1.611 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.106e-06/2.705, allocations: 0 / 1.611 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.001369/2.707, allocations: 0.6532 MB / 1.612 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/2.707, allocations: 58.31 kB / 1.612 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/2.708, allocations: 0.9712 MB / 1.613 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/2.708, allocations: 33.7 kB / 1.613 GB, free: 93.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/2.709, allocations: 484.5 kB / 1.613 GB, free: 92.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/2.709, allocations: 165.4 kB / 1.613 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/2.709, allocations: 8 kB / 1.613 GB, free: 92.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/2.709, allocations: 336.5 kB / 1.614 GB, free: 92.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/2.709, allocations: 181 kB / 1.614 GB, free: 92.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/2.71, allocations: 331.7 kB / 1.614 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/2.71, allocations: 0.4998 MB / 1.615 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/2.71, allocations: 2.469 kB / 1.615 GB, free: 91.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001156/2.711, allocations: 0.6484 MB / 1.615 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/2.712, allocations: 180.2 kB / 1.616 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/2.712, allocations: 14.62 kB / 1.616 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/2.712, allocations: 6.906 kB / 1.616 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/2.712, allocations: 127.8 kB / 1.616 GB, free: 90.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/2.712, allocations: 7.938 kB / 1.616 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/2.713, allocations: 114.1 kB / 1.616 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/2.713, allocations: 34.89 kB / 1.616 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/2.713, allocations: 5.094 kB / 1.616 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008791/2.714, allocations: 0.5214 MB / 1.616 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/2.714, allocations: 4 kB / 1.616 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/2.714, allocations: 8 kB / 1.616 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/2.714, allocations: 125.6 kB / 1.616 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/2.714, allocations: 11.94 kB / 1.616 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/2.715, allocations: 92.06 kB / 1.617 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/2.715, allocations: 31.98 kB / 1.617 GB, free: 89.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * 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.0004478/2.716, allocations: 348.8 kB / 1.617 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/2.716, allocations: 106.7 kB / 1.617 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/2.717, allocations: 0.9345 MB / 1.618 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/2.717, allocations: 8 kB / 1.618 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/2.717, allocations: 9.359 kB / 1.618 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008438/2.718, allocations: 0.8358 MB / 1.619 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/2.721, allocations: 1.946 MB / 1.621 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/2.721, allocations: 4 kB / 1.621 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/2.722, allocations: 103.2 kB / 1.621 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/2.722, allocations: 4 kB / 1.621 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/2.722, allocations: 19.98 kB / 1.621 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/2.722, allocations: 7.938 kB / 1.621 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.722, allocations: 3.938 kB / 1.621 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/2.723, allocations: 1.185 MB / 1.622 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/2.724, allocations: 295.3 kB / 1.622 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/2.724, allocations: 12 kB / 1.622 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/2.724, allocations: 43.91 kB / 1.622 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/2.725, allocations: 56.42 kB / 1.622 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/2.725, allocations: 23.98 kB / 1.622 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008986/2.725, allocations: 0.6874 MB / 1.623 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/2.725, allocations: 4 kB / 1.623 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001765/2.727, allocations: 0.6085 MB / 1.624 GB, free: 81.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (61): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.001338/2.729, allocations: 0.7413 MB / 1.624 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001404/2.73, allocations: 0.9261 MB / 1.625 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.73, allocations: 0 / 1.625 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/2.731, allocations: 399.8 kB / 1.626 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/2.733, allocations: 0.5588 MB / 1.626 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/2.736, allocations: 2.467 MB / 1.629 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/2.737, allocations: 1.058 MB / 1.63 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001091/2.738, allocations: 291.3 kB / 1.63 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/2.738, allocations: 103.4 kB / 1.63 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/2.738, allocations: 0 / 1.63 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.03856/2.777, allocations: 26.5 MB / 1.656 GB, free: 49.28 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)