Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.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.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001075/0.001075, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 286.9 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9367/0.9367, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 93.23 kB / 0.5947 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002668/0.1437, allocations: 1.787 MB / 0.6814 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1451, allocations: 1.02 MB / 0.6824 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.1451, allocations: 0 / 0.6824 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.1452, allocations: 7.984 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.1453, allocations: 27.77 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.1457, allocations: 151.8 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1458, allocations: 95.48 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1459, allocations: 40.11 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.146, allocations: 39.86 kB / 0.6827 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.1461, allocations: 35.84 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1461, allocations: 12 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.1464, allocations: 183.8 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.1464, allocations: 19.92 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1465, allocations: 31.81 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.1467, allocations: 207.5 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1468, allocations: 3.938 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1468, allocations: 0 / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1468, allocations: 0 / 0.6832 GB, free: 13.44 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004764/0.1473, allocations: 427 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.1473, allocations: 8.031 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.1473, allocations: 8.844 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1475, allocations: 194.2 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1475, allocations: 4.375 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1475, allocations: 8.375 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1477, allocations: 69.98 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1477, allocations: 0 / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1477, allocations: 0 / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1477, allocations: 4 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1478, allocations: 47.97 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1483, allocations: 396 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.987e-05/0.1484, allocations: 38.67 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1485, allocations: 24.84 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.73e-05/0.1486, allocations: 89.08 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1486, allocations: 34.5 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1486, allocations: 4 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000249/0.1489, allocations: 81.58 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1489, allocations: 55.34 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.149, allocations: 147.5 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.149, allocations: 25.7 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.1491, allocations: 100.1 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1491, allocations: 11.81 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1492, allocations: 17.7 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.1493, allocations: 314.8 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.1493, allocations: 15.98 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.1494, allocations: 19.98 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.193e-05/0.1495, allocations: 40.78 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1495, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001338/0.1496, allocations: 69.91 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1496, allocations: 4 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1496, allocations: 4 kB / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.1497, allocations: 0 / 0.6853 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.1498, allocations: 15.98 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.1498, allocations: 0 / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.1498, allocations: 11.94 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1498, allocations: 0 / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 7.184e-05/0.1499, allocations: 114.5 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1499, allocations: 11.89 kB / 0.6855 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.1501, allocations: 85.84 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1501, allocations: 0 / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1501, allocations: 0 / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1502, allocations: 4.047 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1503, allocations: 197.6 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1503, allocations: 0 / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.1504, allocations: 8 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1504, allocations: 3.984 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1504, allocations: 0 / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1504, allocations: 4 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1504, allocations: 0 / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1506, allocations: 179.3 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.1507, allocations: 84.95 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1507, allocations: 0 / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1508, allocations: 8 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.1508, allocations: 7.922 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1508, allocations: 4 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.1509, allocations: 109.1 kB / 0.6861 GB, free: 10.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 0 / 0.6861 GB, free: 10.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.1513, allocations: 59.92 kB / 0.6862 GB, free: 9.973 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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 0.0002366/0.1515, allocations: 167.1 kB / 0.6864 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1516, allocations: 35.92 kB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1517, allocations: 0 / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.1517, allocations: 23.98 kB / 0.6864 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.152, allocations: 15.94 kB / 0.6864 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.1524, allocations: 235 kB / 0.6867 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1526, allocations: 0.6924 MB / 0.6873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.1526, allocations: 11.98 kB / 0.6873 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.1527, allocations: 11.44 kB / 0.6874 GB, free: 8.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1527, allocations: 0 / 0.6874 GB, free: 8.73 MB / 494.1 MB Notification: Performance of Templates: time 0.003821/0.1565, allocations: 1.753 MB / 0.6891 GB, free: 6.992 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.makefile (rm -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.sim & ./BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1)