Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.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.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 106.5 kB / 16.27 MB, free: 6.004 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.001219/0.001219, allocations: 192.3 kB / 17.2 MB, free: 5.641 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 286.4 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9558/0.9558, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 95.84 kB / 0.5959 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1612, allocations: 86.98 MB / 0.6808 GB, free: 8.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.003003/0.1642, allocations: 1.673 MB / 0.6825 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1653, allocations: 0.5925 MB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.1654, allocations: 0 / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.514e-05/0.1655, allocations: 7.875 kB / 0.683 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.1658, allocations: 47.75 kB / 0.6831 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1661, allocations: 95.64 kB / 0.6832 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1662, allocations: 107.7 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1663, allocations: 36.17 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.1664, allocations: 35.92 kB / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1665, allocations: 55.75 kB / 0.6834 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1665, allocations: 8 kB / 0.6834 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.1668, allocations: 103.9 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.1668, allocations: 27.92 kB / 0.6835 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.1669, allocations: 47.73 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1672, allocations: 167.5 kB / 0.6837 GB, free: 5.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1672, allocations: 0 / 0.6837 GB, free: 5.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1672, allocations: 0 / 0.6837 GB, free: 5.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1672, allocations: 4 kB / 0.6837 GB, free: 5.215 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006517/0.1678, allocations: 431.2 kB / 0.6842 GB, free: 4.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1679, allocations: 12.03 kB / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.168, allocations: 12.84 kB / 0.6842 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1681, allocations: 184.1 kB / 0.6844 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.1682, allocations: 67.91 kB / 0.6844 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1683, allocations: 12.36 kB / 0.6844 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1685, allocations: 115 kB / 0.6845 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1685, allocations: 3.938 kB / 0.6845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1685, allocations: 4 kB / 0.6846 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1685, allocations: 0 / 0.6846 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.1688, allocations: 99.95 kB / 0.6846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.1695, allocations: 432.1 kB / 0.6851 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1697, allocations: 90.62 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1698, allocations: 32.89 kB / 0.6852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.1704, allocations: 323.2 kB / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1704, allocations: 38.44 kB / 0.6855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.1704, allocations: 0 / 0.6855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001238/0.1717, allocations: 335.3 kB / 0.6858 GB, free: 2.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1717, allocations: 51.41 kB / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1719, allocations: 168.8 kB / 0.6861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1719, allocations: 29.64 kB / 0.6861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.172, allocations: 111.9 kB / 0.6862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.172, allocations: 19.72 kB / 0.6862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.1721, allocations: 25.7 kB / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1722, allocations: 326.8 kB / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/0.1723, allocations: 35.97 kB / 0.6866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.1724, allocations: 31.98 kB / 0.6866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1726, allocations: 72.84 kB / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1726, allocations: 0 / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005358/0.1731, allocations: 186.5 kB / 0.6869 GB, free: 1.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1731, allocations: 4 kB / 0.6869 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1732, allocations: 0 / 0.6869 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.1736, allocations: 80.72 kB / 0.6869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.1737, allocations: 8 kB / 0.6869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2899/0.4636, allocations: 1.762 MB / 0.6887 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.4638, allocations: 21.91 kB / 0.6887 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4638, allocations: 2.75 kB / 0.6887 GB, free: 17.07 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 9.223e-05/0.4639, allocations: 118.3 kB / 0.6888 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.464, allocations: 16.56 kB / 0.6888 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.4647, allocations: 170.4 kB / 0.689 GB, free: 16.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4647, allocations: 0.875 kB / 0.689 GB, free: 16.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4647, allocations: 0.5 kB / 0.689 GB, free: 16.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4647, allocations: 1.719 kB / 0.689 GB, free: 16.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.4655, allocations: 447.5 kB / 0.6894 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4655, allocations: 0.8438 kB / 0.6894 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.4655, allocations: 7.219 kB / 0.6894 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.466, allocations: 68.77 kB / 0.6895 GB, free: 16.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.466, allocations: 1.766 kB / 0.6895 GB, free: 16.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.4677, allocations: 1.775 MB / 0.6912 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4677, allocations: 1.094 kB / 0.6912 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.4682, allocations: 262.4 kB / 0.6915 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.4683, allocations: 91.98 kB / 0.6916 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4683, allocations: 1.672 kB / 0.6916 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.4684, allocations: 4.219 kB / 0.6916 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.4685, allocations: 10.61 kB / 0.6916 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4685, allocations: 6.75 kB / 0.6916 GB, free: 14.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.4686, allocations: 125.9 kB / 0.6917 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4686, allocations: 0 / 0.6917 GB, free: 14.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.4691, allocations: 60.08 kB / 0.6918 GB, free: 14.8 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 (4): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002269/0.4693, allocations: 147.3 kB / 0.6919 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.4699, allocations: 215.3 kB / 0.6921 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4699, allocations: 0 / 0.6921 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.4702, allocations: 167.3 kB / 0.6923 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.4707, allocations: 21.91 kB / 0.6923 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.4714, allocations: 278.2 kB / 0.6925 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.4716, allocations: 0.705 MB / 0.6932 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.4716, allocations: 14.34 kB / 0.6932 GB, free: 13.61 MB / 494.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4716, allocations: 0 / 0.6932 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Templates: time 0.004985/0.4766, allocations: 2.169 MB / 0.6954 GB, free: 13.48 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.sim & ./BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)