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.001715/0.001715, 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.001666/0.001666, allocations: 194.8 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 284.2 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9471/0.9471, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 91.92 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1618, allocations: 86.98 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002612/0.1645, allocations: 1.734 MB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008793/0.1654, allocations: 0.6036 MB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.1654, allocations: 9.438 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.1655, allocations: 7.922 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1657, allocations: 27.78 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.1659, allocations: 84.33 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.166, allocations: 99.7 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1661, allocations: 32.25 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/0.1661, allocations: 27.92 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.1662, allocations: 55.75 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1662, allocations: 4 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1664, allocations: 95.92 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.1665, allocations: 27.91 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.1665, allocations: 43.73 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1668, allocations: 167.5 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1668, allocations: 0 / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1668, allocations: 0 / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1668, allocations: 0 / 0.6824 GB, free: 14.21 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.0005577/0.1673, allocations: 429 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1674, allocations: 16.03 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.1674, allocations: 12.78 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1676, allocations: 180.2 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.1676, allocations: 67.91 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1677, allocations: 12.38 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1679, allocations: 116.1 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1679, allocations: 3.938 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1679, allocations: 4 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.168, allocations: 4 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.1682, allocations: 103.9 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.1688, allocations: 432.1 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.169, allocations: 82.64 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.1691, allocations: 40.88 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/0.1696, allocations: 311.2 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1697, allocations: 38.44 kB / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1697, allocations: 0 / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001197/0.1709, allocations: 331.4 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1709, allocations: 55.34 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1711, allocations: 169.7 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1711, allocations: 29.7 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1712, allocations: 107.9 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1712, allocations: 31.62 kB / 0.6848 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.1712, allocations: 21.72 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.1713, allocations: 334.7 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.1714, allocations: 31.98 kB / 0.6852 GB, free: 11.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.1715, allocations: 31.98 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1717, allocations: 76.83 kB / 0.6853 GB, free: 10.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1717, allocations: 4 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005167/0.1722, allocations: 182.2 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1723, allocations: 4 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1723, allocations: 0 / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.1728, allocations: 76.73 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.1728, allocations: 11.98 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.1748, allocations: 1.595 MB / 0.6871 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-05/0.1749, allocations: 11.84 kB / 0.6871 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1749, allocations: 4 kB / 0.6871 GB, free: 8.867 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 8.673e-05/0.175, allocations: 130.4 kB / 0.6873 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.175, allocations: 7.906 kB / 0.6873 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.1756, allocations: 167.5 kB / 0.6874 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1756, allocations: 7.938 kB / 0.6874 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1756, allocations: 0 / 0.6874 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1756, allocations: 0 / 0.6874 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.1763, allocations: 444.1 kB / 0.6879 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1763, allocations: 0 / 0.6879 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.1764, allocations: 4 kB / 0.6879 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003766/0.1767, allocations: 76.81 kB / 0.6879 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1768, allocations: 0 / 0.6879 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.1785, allocations: 1.588 MB / 0.6895 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1785, allocations: 0 / 0.6895 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.179, allocations: 265.1 kB / 0.6897 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1791, allocations: 89 kB / 0.6898 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1791, allocations: 4 kB / 0.6898 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1792, allocations: 3.984 kB / 0.6898 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1793, allocations: 11.98 kB / 0.6898 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1793, allocations: 4 kB / 0.6898 GB, free: 5.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.893e-05/0.1794, allocations: 126.8 kB / 0.69 GB, free: 5.711 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1794, allocations: 4 kB / 0.69 GB, free: 5.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1798, allocations: 59.94 kB / 0.69 GB, free: 5.648 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.0002126/0.18, allocations: 152 kB / 0.6902 GB, free: 5.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.1806, allocations: 218.5 kB / 0.6904 GB, free: 5.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1806, allocations: 4 kB / 0.6904 GB, free: 5.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.1809, allocations: 166.5 kB / 0.6905 GB, free: 5.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1812, allocations: 16 kB / 0.6906 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.1818, allocations: 263.7 kB / 0.6908 GB, free: 4.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.182, allocations: 0.697 MB / 0.6915 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.027e-05/0.1821, allocations: 8.875 kB / 0.6915 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.1821, allocations: 19.44 kB / 0.6915 GB, free: 4.031 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1821, allocations: 0 / 0.6915 GB, free: 4.031 MB / 494.1 MB Notification: Performance of Templates: time 0.004914/0.187, allocations: 2.283 MB / 0.6937 GB, free: 1.789 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)