Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009351/0.0009353, allocations: 172.7 kB / 15.95 MB, free: 208 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.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 259 kB / 291.3 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9345/0.9345, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006045/0.0006046, allocations: 12.84 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1468, allocations: 88.54 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.000539/0.1473, allocations: 246.5 kB / 0.6847 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000109/0.1475, allocations: 19.91 kB / 0.6847 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.1475, allocations: 0 / 0.6847 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.1475, allocations: 0 / 0.6847 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1476, allocations: 4 kB / 0.6847 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.865e-06/0.1477, allocations: 0 / 0.6847 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.117e-05/0.1477, allocations: 5.312 kB / 0.6847 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.1478, allocations: 0 / 0.6847 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.1478, allocations: 3.938 kB / 0.6847 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.1478, allocations: 8.609 kB / 0.6847 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1479, allocations: 0 / 0.6847 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-06/0.1479, allocations: 0.6562 kB / 0.6847 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-06/0.1479, allocations: 0 / 0.6847 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1479, allocations: 27.8 kB / 0.6848 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.559e-05/0.1479, allocations: 0 / 0.6848 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1479, allocations: 0 / 0.6848 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1479, allocations: 0 / 0.6848 GB, free: 15.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.1479, allocations: 3.938 kB / 0.6848 GB, free: 15.18 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002354/0.1482, allocations: 313.6 kB / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1482, allocations: 8.094 kB / 0.6851 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.1483, allocations: 11.95 kB / 0.6851 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.271e-05/0.1484, allocations: 171.3 kB / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1484, allocations: 0 / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.1484, allocations: 0.5 kB / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.821e-05/0.1485, allocations: 40.98 kB / 0.6853 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.1485, allocations: 0 / 0.6853 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1485, allocations: 0.9062 kB / 0.6853 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1485, allocations: 0 / 0.6853 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.1486, allocations: 19.81 kB / 0.6853 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1487, allocations: 156 kB / 0.6855 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.1488, allocations: 41.41 kB / 0.6855 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.1488, allocations: 17.66 kB / 0.6855 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1488, allocations: 3.984 kB / 0.6855 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1488, allocations: 42.61 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1489, allocations: 0 / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001216/0.149, allocations: 42.14 kB / 0.6856 GB, free: 14.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.149, allocations: 77.77 kB / 0.6857 GB, free: 14.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.1491, allocations: 99.06 kB / 0.6858 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1491, allocations: 25.7 kB / 0.6858 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.1491, allocations: 82.05 kB / 0.6859 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.1492, allocations: 7.906 kB / 0.6859 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.1492, allocations: 0 / 0.6859 GB, free: 13.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1493, allocations: 314.8 kB / 0.6862 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.1493, allocations: 4.375 kB / 0.6862 GB, free: 13.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.1493, allocations: 13.72 kB / 0.6862 GB, free: 13.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/0.1493, allocations: 4 kB / 0.6862 GB, free: 13.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1493, allocations: 0 / 0.6862 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.27e-05/0.1494, allocations: 45.62 kB / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1494, allocations: 4 kB / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1494, allocations: 4 kB / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.1494, allocations: 128 / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.1495, allocations: 8 kB / 0.6863 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1495, allocations: 0 / 0.6863 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.1495, allocations: 0 / 0.6863 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1495, allocations: 0 / 0.6863 GB, free: 13.42 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.429e-05/0.1496, allocations: 122.4 kB / 0.6864 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.1496, allocations: 4 kB / 0.6864 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.565e-05/0.1497, allocations: 52.69 kB / 0.6864 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1497, allocations: 0 / 0.6864 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1497, allocations: 7.938 kB / 0.6864 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1497, allocations: 0 / 0.6864 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.595e-05/0.1498, allocations: 149.6 kB / 0.6866 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1498, allocations: 7.984 kB / 0.6866 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.1499, allocations: 0 / 0.6866 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1499, allocations: 7.938 kB / 0.6866 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1499, allocations: 0 / 0.6866 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1499, allocations: 0 / 0.6866 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1499, allocations: 0 / 0.6866 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.654e-05/0.15, allocations: 73.97 kB / 0.6867 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.15, allocations: 81.11 kB / 0.6868 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.15, allocations: 0 / 0.6868 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.482e-05/0.1501, allocations: 3.938 kB / 0.6868 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1501, allocations: 8 kB / 0.6868 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.1501, allocations: 0 / 0.6868 GB, free: 12.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.874e-05/0.1501, allocations: 79.31 kB / 0.6868 GB, free: 12.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1501, allocations: 0 / 0.6868 GB, free: 12.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.1503, allocations: 4 kB / 0.6868 GB, free: 12.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.118e-05/0.1504, allocations: 95.23 kB / 0.6869 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.061e-05/0.1505, allocations: 8 kB / 0.6869 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1505, allocations: 0 / 0.6869 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.1505, allocations: 8.156 kB / 0.687 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1506, allocations: 14.61 kB / 0.687 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.1508, allocations: 97.56 kB / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.151, allocations: 0.6731 MB / 0.6877 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.1511, allocations: 0 / 0.6877 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.1511, allocations: 7.438 kB / 0.6877 GB, free: 11.76 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1511, allocations: 0 / 0.6877 GB, free: 11.76 MB / 494.1 MB Notification: Performance of Templates: time 0.001673/0.1528, allocations: 184.2 kB / 0.6879 GB, free: 11.58 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)