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: "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 195.6 kB / 16.54 MB, free: 6.672 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 287 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 97.56 kB / 0.5953 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.003198/0.1575, allocations: 1.662 MB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1587, allocations: 0.5962 MB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1588, allocations: 0 / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.192e-05/0.1589, allocations: 15.8 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.1593, allocations: 47.7 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1596, allocations: 95.69 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1598, allocations: 103.7 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1599, allocations: 32.19 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.16, allocations: 39.91 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1601, allocations: 51.77 kB / 0.6829 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1602, allocations: 12 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.1604, allocations: 95.92 kB / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.1604, allocations: 35.83 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.1605, allocations: 43.73 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.1608, allocations: 163.6 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1608, allocations: 3.938 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1609, allocations: 0 / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1609, allocations: 0 / 0.6832 GB, free: 13.62 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.0006574/0.1615, allocations: 435.2 kB / 0.6836 GB, free: 13.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1616, allocations: 8.031 kB / 0.6836 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.1616, allocations: 46.73 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1617, allocations: 16.75 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1618, allocations: 180.2 kB / 0.6838 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.1619, allocations: 71.89 kB / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.162, allocations: 8.375 kB / 0.6839 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1622, allocations: 115.9 kB / 0.684 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1622, allocations: 4 kB / 0.684 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1622, allocations: 8 kB / 0.684 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1623, allocations: 4 kB / 0.684 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.1625, allocations: 95.94 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.1631, allocations: 440.1 kB / 0.6846 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1633, allocations: 82.58 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.1635, allocations: 36.89 kB / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/0.164, allocations: 315.2 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.164, allocations: 34.56 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1641, allocations: 0 / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001215/0.1653, allocations: 339.3 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1653, allocations: 51.41 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1655, allocations: 173.9 kB / 0.6855 GB, free: 10.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1655, allocations: 25.7 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1656, allocations: 123.8 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1656, allocations: 15.72 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1656, allocations: 29.7 kB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1657, allocations: 322.8 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.1658, allocations: 35.98 kB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.1659, allocations: 27.98 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1661, allocations: 80.77 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1661, allocations: 4 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005261/0.1667, allocations: 178.2 kB / 0.6864 GB, free: 10.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1667, allocations: 4 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1667, allocations: 0 / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.1671, allocations: 80.67 kB / 0.6864 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.1672, allocations: 11.98 kB / 0.6864 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.1693, allocations: 1.773 MB / 0.6882 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.1695, allocations: 15.91 kB / 0.6882 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1695, allocations: 4 kB / 0.6882 GB, free: 8.027 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.087e-05/0.1696, allocations: 115.2 kB / 0.6883 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1696, allocations: 7.906 kB / 0.6883 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005467/0.1702, allocations: 183.3 kB / 0.6885 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1702, allocations: 4 kB / 0.6885 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.1702, allocations: 0 / 0.6885 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1702, allocations: 0 / 0.6885 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.1709, allocations: 448 kB / 0.6889 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1709, allocations: 0 / 0.6889 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.171, allocations: 4 kB / 0.6889 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/0.1713, allocations: 76.77 kB / 0.689 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1714, allocations: 0 / 0.689 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.1732, allocations: 1.768 MB / 0.6907 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1732, allocations: 0 / 0.6907 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1738, allocations: 261 kB / 0.691 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1738, allocations: 89 kB / 0.6911 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1738, allocations: 11.94 kB / 0.6911 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.1739, allocations: 0 / 0.6911 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.174, allocations: 7.984 kB / 0.6911 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.174, allocations: 8 kB / 0.6911 GB, free: 4.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.1741, allocations: 126.8 kB / 0.6912 GB, free: 4.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1741, allocations: 3.938 kB / 0.6912 GB, free: 4.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.1745, allocations: 55.94 kB / 0.6913 GB, free: 4.629 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.0008809/0.1754, allocations: 0.8427 MB / 0.6921 GB, free: 3.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.1759, allocations: 214.8 kB / 0.6923 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.176, allocations: 0 / 0.6923 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.1763, allocations: 162.7 kB / 0.6924 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1766, allocations: 22.03 kB / 0.6925 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1791, allocations: 1.876 MB / 0.6943 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1793, allocations: 0.6967 MB / 0.695 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.1794, allocations: 12.88 kB / 0.695 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1794, allocations: 27.44 kB / 0.695 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1794, allocations: 0 / 0.695 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2042, allocations: 3.964 MB / 0.6989 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.48, allocations: 17 kB / 0.6989 GB, free: 12.85 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)