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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001074/0.001074, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 293.1 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 94.75 kB / 0.5945 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1364, allocations: 86.98 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001682/0.1381, allocations: 0.5785 MB / 0.68 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.1383, allocations: 19.91 kB / 0.68 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.1383, allocations: 6 kB / 0.68 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.1383, allocations: 0 / 0.68 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.1384, allocations: 0 / 0.68 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.1384, allocations: 0 / 0.68 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.429e-05/0.1385, allocations: 4 kB / 0.68 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1385, allocations: 3.984 kB / 0.68 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.1386, allocations: 8.562 kB / 0.68 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.013e-05/0.1386, allocations: 0.7188 kB / 0.68 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1386, allocations: 0 / 0.68 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-06/0.1386, allocations: 0.875 kB / 0.68 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.1386, allocations: 0 / 0.68 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1387, allocations: 7.922 kB / 0.68 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 3.472e-05/0.1387, allocations: 4.625 kB / 0.68 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1387, allocations: 1.312 kB / 0.68 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1387, allocations: 0 / 0.68 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1387, allocations: 0 / 0.68 GB, free: 0.5859 MB / 478.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.0002507/0.139, allocations: 316.4 kB / 0.6803 GB, free: 232 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.139, allocations: 8.031 kB / 0.6804 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.1391, allocations: 8.938 kB / 0.6804 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.499e-05/0.1391, allocations: 168.6 kB / 0.6805 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1392, allocations: 384 / 0.6805 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1392, allocations: 384 / 0.6805 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1393, allocations: 51.91 kB / 0.6806 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1393, allocations: 192 / 0.6806 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1393, allocations: 3.938 kB / 0.6806 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1393, allocations: 0 / 0.6806 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.1394, allocations: 8 kB / 0.6806 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.1395, allocations: 154.6 kB / 0.6807 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.1395, allocations: 45.02 kB / 0.6808 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.1396, allocations: 13.84 kB / 0.6808 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1396, allocations: 4 kB / 0.6808 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1396, allocations: 38.56 kB / 0.6808 GB, free: 15.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1396, allocations: 0 / 0.6808 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001179/0.1398, allocations: 45.56 kB / 0.6809 GB, free: 15.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1398, allocations: 81.11 kB / 0.681 GB, free: 15.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.1399, allocations: 93.86 kB / 0.681 GB, free: 15.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1399, allocations: 26.08 kB / 0.6811 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.1399, allocations: 84.14 kB / 0.6811 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.1399, allocations: 3.906 kB / 0.6812 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.14, allocations: 21.66 kB / 0.6812 GB, free: 15.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1401, allocations: 318.8 kB / 0.6815 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.1401, allocations: 0 / 0.6815 GB, free: 14.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.1401, allocations: 13.72 kB / 0.6815 GB, free: 14.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.1402, allocations: 21.78 kB / 0.6815 GB, free: 14.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1402, allocations: 0 / 0.6815 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.516e-05/0.1402, allocations: 41.62 kB / 0.6815 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1402, allocations: 8 kB / 0.6816 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1403, allocations: 3.938 kB / 0.6816 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1403, allocations: 0 / 0.6816 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.1403, allocations: 4 kB / 0.6816 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1403, allocations: 0 / 0.6816 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.1404, allocations: 4.062 kB / 0.6816 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1404, allocations: 4 kB / 0.6816 GB, free: 14.76 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.1404, allocations: 111.2 kB / 0.6817 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-06/0.1404, allocations: 0 / 0.6817 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.1406, allocations: 60.59 kB / 0.6817 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1406, allocations: 0 / 0.6817 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1406, allocations: 0 / 0.6817 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.1406, allocations: 8.047 kB / 0.6817 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.934e-05/0.1407, allocations: 145.7 kB / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1407, allocations: 0 / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.1407, allocations: 11.94 kB / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1407, allocations: 0 / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1407, allocations: 3.938 kB / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1407, allocations: 7.922 kB / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1407, allocations: 0 / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.324e-05/0.1408, allocations: 70 kB / 0.682 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.1409, allocations: 81.09 kB / 0.682 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1409, allocations: 3.938 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.1409, allocations: 8 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.1409, allocations: 0 / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.1409, allocations: 0 / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.407e-05/0.141, allocations: 75.28 kB / 0.6821 GB, free: 14.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.141, allocations: 0 / 0.6821 GB, free: 14.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001756/0.1412, allocations: 8.125 kB / 0.6821 GB, free: 14.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.662e-05/0.1412, allocations: 99.19 kB / 0.6822 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.1413, allocations: 7.984 kB / 0.6822 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1413, allocations: 0 / 0.6822 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.1413, allocations: 11.94 kB / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1415, allocations: 5.203 kB / 0.6823 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.1416, allocations: 95.81 kB / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1419, allocations: 0.677 MB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.592e-05/0.1419, allocations: 0 / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.1419, allocations: 7.438 kB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1419, allocations: 0 / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of Templates: time 0.001657/0.1436, allocations: 198.8 kB / 0.6832 GB, free: 12.92 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)