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.0009644/0.0009643, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008836/0.0008836, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 281.5 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9424/0.9424, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 15.16 kB / 0.598 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.0005754/0.1409, allocations: 246.5 kB / 0.6847 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.1411, allocations: 43.89 kB / 0.6848 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.1411, allocations: 0 / 0.6848 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.1412, allocations: 0 / 0.6848 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1413, allocations: 5.125 kB / 0.6848 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.504e-05/0.1413, allocations: 4 kB / 0.6848 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.552e-05/0.1414, allocations: 11.97 kB / 0.6848 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1414, allocations: 4.562 kB / 0.6848 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.1415, allocations: 9.344 kB / 0.6848 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.1415, allocations: 7.984 kB / 0.6848 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1416, allocations: 0 / 0.6848 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.1416, allocations: 0 / 0.6848 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.1416, allocations: 5.312 kB / 0.6848 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.1416, allocations: 29.64 kB / 0.6848 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.377e-05/0.1417, allocations: 7.984 kB / 0.6848 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1417, allocations: 1.719 kB / 0.6848 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1417, allocations: 3.828 kB / 0.6848 GB, free: 15.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1417, allocations: 0 / 0.6848 GB, free: 15.08 MB / 494.1 MB 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.000327/0.142, allocations: 330.4 kB / 0.6852 GB, free: 14.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1421, allocations: 12.03 kB / 0.6852 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1421, allocations: 7.859 kB / 0.6852 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1423, allocations: 171 kB / 0.6853 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1423, allocations: 0 / 0.6853 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1423, allocations: 12 kB / 0.6853 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.341e-05/0.1424, allocations: 29.69 kB / 0.6854 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1424, allocations: 4.969 kB / 0.6854 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.1424, allocations: 0 / 0.6854 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1424, allocations: 5.625 kB / 0.6854 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.1424, allocations: 7.891 kB / 0.6854 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.1426, allocations: 153.7 kB / 0.6855 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.1426, allocations: 19.36 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.1426, allocations: 13.5 kB / 0.6856 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1427, allocations: 2.531 kB / 0.6856 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.1427, allocations: 30.56 kB / 0.6856 GB, free: 14.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1427, allocations: 0 / 0.6856 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000124/0.1428, allocations: 45.62 kB / 0.6856 GB, free: 14.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1429, allocations: 51.41 kB / 0.6857 GB, free: 14.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.1429, allocations: 115.8 kB / 0.6858 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.143, allocations: 25.7 kB / 0.6858 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.143, allocations: 84.14 kB / 0.6859 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.143, allocations: 3.906 kB / 0.6859 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.143, allocations: 0.5938 kB / 0.6859 GB, free: 13.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.1431, allocations: 324.5 kB / 0.6862 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1431, allocations: 4 kB / 0.6862 GB, free: 13.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.1432, allocations: 14.59 kB / 0.6862 GB, free: 13.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.1432, allocations: 8.703 kB / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1432, allocations: 0 / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.401e-05/0.1433, allocations: 51 kB / 0.6863 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1433, allocations: 10.19 kB / 0.6863 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1433, allocations: 0 / 0.6863 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1433, allocations: 0.6875 kB / 0.6863 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.1434, allocations: 7.938 kB / 0.6863 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1434, allocations: 0.625 kB / 0.6863 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.1434, allocations: 256 / 0.6863 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1434, allocations: 8 kB / 0.6863 GB, free: 13.35 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/0.1435, allocations: 114.4 kB / 0.6864 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.1435, allocations: 11.89 kB / 0.6864 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.261e-05/0.1436, allocations: 49.16 kB / 0.6865 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.1436, allocations: 0 / 0.6865 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1436, allocations: 0 / 0.6865 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1436, allocations: 4 kB / 0.6865 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.375e-05/0.1437, allocations: 157.6 kB / 0.6866 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1438, allocations: 4.031 kB / 0.6867 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.1438, allocations: 7.984 kB / 0.6867 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1438, allocations: 0 / 0.6867 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1438, allocations: 0 / 0.6867 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1438, allocations: 0 / 0.6867 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1438, allocations: 0 / 0.6867 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.144, allocations: 85.05 kB / 0.6867 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.144, allocations: 85.03 kB / 0.6868 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.144, allocations: 4.344 kB / 0.6868 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.1441, allocations: 8 kB / 0.6868 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1441, allocations: 0 / 0.6868 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1441, allocations: 0 / 0.6868 GB, free: 12.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.1441, allocations: 91.27 kB / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1441, allocations: 0 / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001808/0.1443, allocations: 4 kB / 0.6869 GB, free: 12.64 MB / 494.1 MB 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 (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 8.207e-05/0.1444, allocations: 91.25 kB / 0.687 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.1445, allocations: 23.92 kB / 0.687 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1445, allocations: 4 kB / 0.687 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.1445, allocations: 4 kB / 0.687 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1447, allocations: 3.953 kB / 0.687 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.1449, allocations: 130.5 kB / 0.6872 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.1451, allocations: 0.6811 MB / 0.6878 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.1452, allocations: 7.984 kB / 0.6878 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.1452, allocations: 11.44 kB / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1452, allocations: 0 / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of Templates: time 0.001921/0.1471, allocations: 292.1 kB / 0.6881 GB, free: 11.34 MB / 494.1 MB 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)