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.005204/0.005204, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001336/0.001336, allocations: 196.3 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002201/0.002201, allocations: 286.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.961/0.961, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 91.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 86.98 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001563/0.1537, allocations: 0.5167 MB / 0.7669 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.1539, allocations: 43.8 kB / 0.7669 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.1539, allocations: 0 / 0.7669 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.154, allocations: 3.938 kB / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1541, allocations: 7.938 kB / 0.7669 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.952e-05/0.1542, allocations: 12 kB / 0.7669 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.1543, allocations: 11.92 kB / 0.7669 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.1543, allocations: 4 kB / 0.767 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.1544, allocations: 3.984 kB / 0.767 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.1544, allocations: 15.92 kB / 0.767 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1544, allocations: 0 / 0.767 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.1545, allocations: 4 kB / 0.767 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.1545, allocations: 0 / 0.767 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1545, allocations: 11.92 kB / 0.767 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.421e-05/0.1546, allocations: 11.98 kB / 0.767 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1546, allocations: 0 / 0.767 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1546, allocations: 0 / 0.767 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1546, allocations: 0 / 0.767 GB, free: 7.797 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.0003963/0.155, allocations: 339.3 kB / 0.7673 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1551, allocations: 8.031 kB / 0.7673 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.1551, allocations: 0.9375 kB / 0.7673 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1553, allocations: 184.3 kB / 0.7675 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1553, allocations: 384 / 0.7675 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1553, allocations: 4.375 kB / 0.7675 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.041e-05/0.1554, allocations: 38.14 kB / 0.7675 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1554, allocations: 192 / 0.7675 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1554, allocations: 3.938 kB / 0.7675 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1554, allocations: 0 / 0.7675 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.1555, allocations: 7.984 kB / 0.7676 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.1556, allocations: 153.7 kB / 0.7677 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.1557, allocations: 18.58 kB / 0.7677 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.1557, allocations: 8.859 kB / 0.7677 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1557, allocations: 0 / 0.7677 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1557, allocations: 38.56 kB / 0.7678 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1558, allocations: 0 / 0.7678 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.1559, allocations: 49.61 kB / 0.7678 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.1559, allocations: 51.41 kB / 0.7679 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.156, allocations: 113.8 kB / 0.768 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1561, allocations: 29.83 kB / 0.768 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.1561, allocations: 80.14 kB / 0.7681 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1561, allocations: 11.91 kB / 0.7681 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.1562, allocations: 9.719 kB / 0.7681 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1563, allocations: 318.8 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.1563, allocations: 0 / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/0.1563, allocations: 21.66 kB / 0.7684 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.1564, allocations: 25.77 kB / 0.7684 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1564, allocations: 0 / 0.7684 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.684e-05/0.1565, allocations: 49.62 kB / 0.7685 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1565, allocations: 10.5 kB / 0.7685 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1565, allocations: 3.938 kB / 0.7685 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1565, allocations: 3.984 kB / 0.7685 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.1566, allocations: 4 kB / 0.7685 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1566, allocations: 0 / 0.7685 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.1566, allocations: 4.062 kB / 0.7685 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1566, allocations: 7.984 kB / 0.7685 GB, free: 5.996 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.784e-05/0.1567, allocations: 106.5 kB / 0.7686 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1567, allocations: 7.906 kB / 0.7686 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1568, allocations: 53.09 kB / 0.7687 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1569, allocations: 0 / 0.7687 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1569, allocations: 0 / 0.7687 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1569, allocations: 11.88 kB / 0.7687 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.157, allocations: 161.7 kB / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.157, allocations: 0 / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.1571, allocations: 4 kB / 0.7689 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1571, allocations: 256 / 0.7689 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1571, allocations: 3.938 kB / 0.7689 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1571, allocations: 4 kB / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1571, allocations: 0 / 0.7689 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.1572, allocations: 81.11 kB / 0.7689 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.1573, allocations: 81.2 kB / 0.769 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1573, allocations: 3.938 kB / 0.769 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.227e-05/0.1573, allocations: 7.969 kB / 0.769 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.1574, allocations: 0 / 0.769 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1574, allocations: 3.984 kB / 0.769 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.1574, allocations: 87.28 kB / 0.7691 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1574, allocations: 0 / 0.7691 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001783/0.1576, allocations: 4 kB / 0.7691 GB, free: 5.285 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 8.9e-05/0.1577, allocations: 95.25 kB / 0.7692 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.15e-05/0.1578, allocations: 15.98 kB / 0.7692 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1578, allocations: 0 / 0.7692 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.1578, allocations: 15.92 kB / 0.7692 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.158, allocations: 0 / 0.7692 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.1582, allocations: 117.7 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1585, allocations: 0.6807 MB / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.1585, allocations: 4.188 kB / 0.77 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.1585, allocations: 11.44 kB / 0.77 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.1585, allocations: 0 / 0.77 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of Templates: time 0.002032/0.1606, allocations: 326.6 kB / 0.7703 GB, free: 3.973 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)