Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.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_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",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.001324/0.001324, allocations: 108 kB / 15.61 MB, free: 152 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.001361/0.001361, allocations: 197 kB / 16.53 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002603/0.002603, allocations: 286.5 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5073 GB, free: 4.605 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 101.5 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 89.14 MB / 0.6936 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.003007/0.1641, allocations: 1.75 MB / 0.6953 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1652, allocations: 0.7448 MB / 0.696 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.1653, allocations: 8 kB / 0.696 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.1654, allocations: 11.86 kB / 0.696 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.1655, allocations: 23.72 kB / 0.6961 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1658, allocations: 107.6 kB / 0.6962 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.166, allocations: 127.6 kB / 0.6963 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1661, allocations: 37.7 kB / 0.6963 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1663, allocations: 55.83 kB / 0.6964 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1664, allocations: 59.75 kB / 0.6964 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.1664, allocations: 12 kB / 0.6965 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.1666, allocations: 75.94 kB / 0.6965 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.1666, allocations: 35.83 kB / 0.6966 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.1667, allocations: 47.73 kB / 0.6966 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.167, allocations: 171.5 kB / 0.6968 GB, free: 1.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.167, allocations: 7.875 kB / 0.6968 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.167, allocations: 4 kB / 0.6968 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.167, allocations: 4 kB / 0.6968 GB, free: 0.9883 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.000737/0.1677, allocations: 454.9 kB / 0.6972 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1678, allocations: 8.031 kB / 0.6972 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.1678, allocations: 42.73 kB / 0.6973 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.1679, allocations: 12.84 kB / 0.6973 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.1681, allocations: 185.8 kB / 0.6975 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1682, allocations: 67.89 kB / 0.6975 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1682, allocations: 12.38 kB / 0.6975 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.1685, allocations: 127.5 kB / 0.6977 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1685, allocations: 0 / 0.6977 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1686, allocations: 8 kB / 0.6977 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1686, allocations: 0 / 0.6977 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.1689, allocations: 127.9 kB / 0.6978 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.1697, allocations: 448.1 kB / 0.6982 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1699, allocations: 86.53 kB / 0.6983 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.1701, allocations: 60.95 kB / 0.6984 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/0.1707, allocations: 311.1 kB / 0.6986 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1707, allocations: 30.56 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1707, allocations: 4 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001456/0.1722, allocations: 391.2 kB / 0.6991 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1722, allocations: 55.41 kB / 0.6991 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1724, allocations: 168.8 kB / 0.6993 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1724, allocations: 25.7 kB / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.1725, allocations: 123.9 kB / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1726, allocations: 35.48 kB / 0.6994 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.1726, allocations: 21.72 kB / 0.6995 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1728, allocations: 330.8 kB / 0.6998 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1729, allocations: 51.89 kB / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1731, allocations: 55.97 kB / 0.6999 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.1734, allocations: 110.7 kB / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1734, allocations: 0 / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006473/0.174, allocations: 214.3 kB / 0.7002 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1741, allocations: 4 kB / 0.7002 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1741, allocations: 0 / 0.7002 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.1745, allocations: 76.73 kB / 0.7003 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1747, allocations: 19.97 kB / 0.7003 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.177, allocations: 1.767 MB / 0.702 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1772, allocations: 19.86 kB / 0.702 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1772, allocations: 4 kB / 0.702 GB, free: 11.14 MB / 0.4981 GB 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 (10): * Single equations (assignments): 9 * 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 0.0001244/0.1773, allocations: 121.8 kB / 0.7022 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.1774, allocations: 19.88 kB / 0.7022 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.178, allocations: 207.7 kB / 0.7024 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1781, allocations: 4.469 kB / 0.7024 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1781, allocations: 7.984 kB / 0.7024 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1781, allocations: 0 / 0.7024 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009252/0.179, allocations: 484 kB / 0.7028 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.179, allocations: 0 / 0.7028 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.1791, allocations: 15.92 kB / 0.7029 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/0.1795, allocations: 80.89 kB / 0.7029 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1795, allocations: 7.984 kB / 0.7029 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.1817, allocations: 1.755 MB / 0.7047 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1817, allocations: 0 / 0.7047 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.1824, allocations: 308.9 kB / 0.705 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.1825, allocations: 85.02 kB / 0.705 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1825, allocations: 11.88 kB / 0.705 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.1826, allocations: 7.984 kB / 0.7051 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.1827, allocations: 15.98 kB / 0.7051 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1827, allocations: 4 kB / 0.7051 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001111/0.1828, allocations: 128.2 kB / 0.7052 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1828, allocations: 0 / 0.7052 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004102/0.1832, allocations: 59.92 kB / 0.7053 GB, free: 7.59 MB / 0.4981 GB 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 (6): * Single equations (assignments): 5 * 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.001105/0.1844, allocations: 0.8668 MB / 0.7061 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007134/0.1851, allocations: 254.5 kB / 0.7063 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1851, allocations: 0 / 0.7063 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.1855, allocations: 182.7 kB / 0.7065 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1858, allocations: 24.2 kB / 0.7065 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.1888, allocations: 1.968 MB / 0.7085 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1892, allocations: 0.7086 MB / 0.7092 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.353e-05/0.1893, allocations: 16.69 kB / 0.7092 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.1894, allocations: 35.36 kB / 0.7092 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of SimCode: time 2.264e-06/0.1894, allocations: 0 / 0.7092 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.2206, allocations: 4.106 MB / 0.7132 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.8, allocations: 15.98 kB / 0.7132 GB, free: 15.46 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic_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_Dynamic.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1)