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.001002/0.001002, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007714/0.007714, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 270.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9418/0.9418, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 15.59 kB / 0.5986 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1657, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.001778/0.1675, allocations: 1.378 MB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.1684, allocations: 0.5962 MB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.1685, allocations: 4 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.1685, allocations: 4.438 kB / 0.6871 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1687, allocations: 44.34 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.1689, allocations: 78.75 kB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1691, allocations: 91.77 kB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1692, allocations: 40.17 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.1692, allocations: 31.91 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.1693, allocations: 41.84 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1693, allocations: 4 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.1695, allocations: 99.91 kB / 0.6875 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.1696, allocations: 19.91 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.1696, allocations: 65.44 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1699, allocations: 160.2 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1699, allocations: 0 / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1699, allocations: 4.438 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1699, allocations: 1.469 kB / 0.6877 GB, free: 12.43 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.0005622/0.1705, allocations: 419.4 kB / 0.6881 GB, free: 11.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1705, allocations: 8.031 kB / 0.6881 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1706, allocations: 16.84 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1707, allocations: 184.1 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/0.1708, allocations: 67.89 kB / 0.6884 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1708, allocations: 12.38 kB / 0.6884 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1711, allocations: 113 kB / 0.6885 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1711, allocations: 7.875 kB / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1711, allocations: 4.656 kB / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.1711, allocations: 4 kB / 0.6885 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.1714, allocations: 101.5 kB / 0.6886 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.1721, allocations: 434.9 kB / 0.689 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1723, allocations: 90.64 kB / 0.6891 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1724, allocations: 36.89 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005297/0.1729, allocations: 315.2 kB / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.173, allocations: 46.44 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.173, allocations: 0 / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001324/0.1743, allocations: 359.3 kB / 0.6898 GB, free: 10.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1744, allocations: 51.41 kB / 0.6899 GB, free: 9.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1745, allocations: 181.8 kB / 0.69 GB, free: 9.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1746, allocations: 25.7 kB / 0.6901 GB, free: 9.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.1746, allocations: 111.9 kB / 0.6902 GB, free: 9.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1747, allocations: 19.66 kB / 0.6902 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1747, allocations: 25.64 kB / 0.6902 GB, free: 9.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1748, allocations: 326.8 kB / 0.6905 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.1749, allocations: 31.98 kB / 0.6906 GB, free: 9.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.175, allocations: 35.98 kB / 0.6906 GB, free: 9.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.1752, allocations: 80.83 kB / 0.6907 GB, free: 9.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1752, allocations: 0 / 0.6907 GB, free: 9.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005493/0.1758, allocations: 198.4 kB / 0.6909 GB, free: 8.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1758, allocations: 8 kB / 0.6909 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1758, allocations: 0 / 0.6909 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.1763, allocations: 72.73 kB / 0.6909 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.1764, allocations: 12 kB / 0.691 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.1785, allocations: 1.623 MB / 0.6925 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1786, allocations: 15.88 kB / 0.6926 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1786, allocations: 4 kB / 0.6926 GB, free: 7.012 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.986e-05/0.1787, allocations: 122.4 kB / 0.6927 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.1788, allocations: 11.81 kB / 0.6927 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.1794, allocations: 179.5 kB / 0.6929 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1794, allocations: 7.938 kB / 0.6929 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1794, allocations: 4 kB / 0.6929 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1794, allocations: 3.938 kB / 0.6929 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/0.1802, allocations: 452.1 kB / 0.6933 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1802, allocations: 0 / 0.6933 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.1802, allocations: 8 kB / 0.6933 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/0.1806, allocations: 72.83 kB / 0.6934 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1807, allocations: 4 kB / 0.6934 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.1825, allocations: 1.616 MB / 0.695 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1826, allocations: 8.094 kB / 0.695 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.1831, allocations: 269 kB / 0.6952 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.1832, allocations: 92.91 kB / 0.6953 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1832, allocations: 4 kB / 0.6953 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1833, allocations: 4 kB / 0.6953 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.1834, allocations: 7.984 kB / 0.6953 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1834, allocations: 7.938 kB / 0.6953 GB, free: 3.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.1835, allocations: 130.8 kB / 0.6955 GB, free: 3.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1835, allocations: 0 / 0.6955 GB, free: 3.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.1839, allocations: 63.92 kB / 0.6955 GB, free: 3.719 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.0002072/0.1841, allocations: 151.8 kB / 0.6957 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005329/0.1847, allocations: 214.7 kB / 0.6959 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1847, allocations: 0 / 0.6959 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.185, allocations: 170.6 kB / 0.696 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1853, allocations: 22.17 kB / 0.6961 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.1859, allocations: 265.2 kB / 0.6963 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1862, allocations: 0.7047 MB / 0.697 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.1862, allocations: 12.88 kB / 0.697 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.1863, allocations: 19.44 kB / 0.697 GB, free: 2.086 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1863, allocations: 0 / 0.697 GB, free: 2.086 MB / 494.1 MB Notification: Performance of Templates: time 0.005472/0.1917, allocations: 2.265 MB / 0.6992 GB, free: 15.87 MB / 0.4981 GB 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)