Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004773/0.004773, allocations: 94.81 kB / 15.73 MB, free: 6.039 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.001055/0.001055, allocations: 202.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 278.7 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 91.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001378/0.1507, allocations: 0.521 MB / 0.7669 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.1508, allocations: 43.86 kB / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.1509, allocations: 4 kB / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.1509, allocations: 0 / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.1511, allocations: 7.875 kB / 0.7669 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.632e-05/0.1511, allocations: 3.984 kB / 0.7669 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.1512, allocations: 19.94 kB / 0.767 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1513, allocations: 3.984 kB / 0.767 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.1513, allocations: 7.984 kB / 0.767 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.1514, allocations: 7.938 kB / 0.767 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1514, allocations: 0 / 0.767 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.1514, allocations: 0 / 0.767 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.1514, allocations: 11.98 kB / 0.767 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.1515, allocations: 3.938 kB / 0.767 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.481e-05/0.1515, allocations: 7.984 kB / 0.767 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1515, allocations: 0 / 0.767 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1515, allocations: 0 / 0.767 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1516, allocations: 4 kB / 0.767 GB, free: 7.828 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003507/0.1519, allocations: 339.4 kB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1519, allocations: 12.03 kB / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.152, allocations: 12.83 kB / 0.7673 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1522, allocations: 168.4 kB / 0.7675 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1522, allocations: 4.312 kB / 0.7675 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1522, allocations: 4.375 kB / 0.7675 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.023e-05/0.1523, allocations: 30.25 kB / 0.7675 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.1523, allocations: 12.12 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1523, allocations: 3.938 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1523, allocations: 0 / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.1523, allocations: 7.984 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.1525, allocations: 149.7 kB / 0.7677 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.431e-05/0.1525, allocations: 26.55 kB / 0.7677 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.1525, allocations: 8.922 kB / 0.7677 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1526, allocations: 0 / 0.7677 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1526, allocations: 38.55 kB / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.1526, allocations: 0 / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.1527, allocations: 49.58 kB / 0.7678 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1527, allocations: 51.41 kB / 0.7679 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.1528, allocations: 113.8 kB / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1528, allocations: 25.7 kB / 0.768 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.1529, allocations: 80.14 kB / 0.7681 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.1529, allocations: 4.125 kB / 0.7681 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1529, allocations: 17.72 kB / 0.7681 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.153, allocations: 318.8 kB / 0.7684 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.1531, allocations: 4 kB / 0.7684 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.1531, allocations: 13.72 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.1531, allocations: 29.77 kB / 0.7685 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1531, allocations: 0 / 0.7685 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.858e-05/0.1532, allocations: 49.58 kB / 0.7685 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1532, allocations: 4 kB / 0.7685 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1532, allocations: 3.938 kB / 0.7685 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1533, allocations: 4 kB / 0.7685 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.1533, allocations: 0 / 0.7685 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.1533, allocations: 7.984 kB / 0.7685 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.1534, allocations: 0 / 0.7685 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1534, allocations: 0 / 0.7685 GB, free: 6.031 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.665e-05/0.1534, allocations: 118.6 kB / 0.7686 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.1535, allocations: 0 / 0.7686 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.1536, allocations: 57.09 kB / 0.7687 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1536, allocations: 0 / 0.7687 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1536, allocations: 3.984 kB / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1536, allocations: 0 / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1537, allocations: 157.6 kB / 0.7688 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1537, allocations: 8.188 kB / 0.7688 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.1537, allocations: 4.031 kB / 0.7689 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1538, allocations: 8 kB / 0.7689 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1538, allocations: 3.938 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1538, allocations: 0 / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1538, allocations: 0 / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1539, allocations: 81 kB / 0.7689 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.1539, allocations: 81.14 kB / 0.769 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.154, allocations: 3.938 kB / 0.769 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.154, allocations: 4.094 kB / 0.769 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.154, allocations: 3.984 kB / 0.769 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.154, allocations: 4 kB / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.1541, allocations: 87.28 kB / 0.7691 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1541, allocations: 0 / 0.7691 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001792/0.1543, allocations: 0 / 0.7691 GB, free: 5.316 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 9.088e-05/0.1544, allocations: 103.2 kB / 0.7692 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.1544, allocations: 12 kB / 0.7692 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1544, allocations: 0 / 0.7692 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.1545, allocations: 15.92 kB / 0.7692 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1546, allocations: 0 / 0.7692 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.1548, allocations: 117.5 kB / 0.7694 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1551, allocations: 0.6768 MB / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.1551, allocations: 4 kB / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.1551, allocations: 7.438 kB / 0.77 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1551, allocations: 192 / 0.77 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of Templates: time 0.001972/0.1571, allocations: 333.7 kB / 0.7703 GB, free: 4 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)