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.001626/0.001626, 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.001273/0.001273, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002562/0.002562, allocations: 275.1 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.123/1.123, allocations: 178.5 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 96.67 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1559, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002989/0.1589, allocations: 1.672 MB / 0.6952 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.16, allocations: 0.5949 MB / 0.6958 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.16, allocations: 0 / 0.6958 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.1601, allocations: 16.8 kB / 0.6958 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1604, allocations: 44.38 kB / 0.6959 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.1606, allocations: 97.3 kB / 0.696 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1607, allocations: 99.7 kB / 0.696 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1609, allocations: 36.86 kB / 0.6961 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.1609, allocations: 38.39 kB / 0.6961 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.161, allocations: 51.77 kB / 0.6962 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1611, allocations: 8 kB / 0.6962 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.1613, allocations: 99.91 kB / 0.6963 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.1613, allocations: 27.91 kB / 0.6963 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.1614, allocations: 43.73 kB / 0.6963 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1617, allocations: 173.3 kB / 0.6965 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1617, allocations: 3.938 kB / 0.6965 GB, free: 1.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1617, allocations: 0 / 0.6965 GB, free: 1.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1617, allocations: 3.938 kB / 0.6965 GB, free: 1.25 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.0006861/0.1624, allocations: 441.5 kB / 0.6969 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1624, allocations: 8.031 kB / 0.6969 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.1625, allocations: 42.73 kB / 0.697 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1625, allocations: 12.84 kB / 0.697 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.1627, allocations: 176.3 kB / 0.6972 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1628, allocations: 67.95 kB / 0.6972 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1629, allocations: 12.31 kB / 0.6972 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.1631, allocations: 115.9 kB / 0.6973 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1631, allocations: 0 / 0.6973 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1631, allocations: 4 kB / 0.6974 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1632, allocations: 4 kB / 0.6974 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1634, allocations: 99.94 kB / 0.6975 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/0.1642, allocations: 436.1 kB / 0.6979 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1644, allocations: 86.58 kB / 0.698 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1645, allocations: 36.89 kB / 0.698 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.1651, allocations: 319.1 kB / 0.6983 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1652, allocations: 38.56 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1652, allocations: 0 / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001279/0.1665, allocations: 339.3 kB / 0.6986 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1665, allocations: 51.41 kB / 0.6987 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1667, allocations: 169.5 kB / 0.6989 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1667, allocations: 25.7 kB / 0.6989 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1668, allocations: 111.9 kB / 0.699 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1668, allocations: 27.64 kB / 0.699 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.1669, allocations: 21.62 kB / 0.699 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.167, allocations: 330.8 kB / 0.6994 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.1671, allocations: 31.98 kB / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/0.1672, allocations: 35.98 kB / 0.6994 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.1674, allocations: 76.98 kB / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1674, allocations: 0 / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005421/0.168, allocations: 182.2 kB / 0.6997 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.168, allocations: 4 kB / 0.6997 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.168, allocations: 0 / 0.6997 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.1685, allocations: 76.73 kB / 0.6997 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.1686, allocations: 15.92 kB / 0.6998 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.1709, allocations: 1.771 MB / 0.7015 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.1711, allocations: 15.88 kB / 0.7015 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1711, allocations: 0 / 0.7015 GB, free: 11.67 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 (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 0.0001127/0.1712, allocations: 121.9 kB / 0.7016 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1712, allocations: 11.91 kB / 0.7016 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.1718, allocations: 175.2 kB / 0.7018 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1718, allocations: 4 kB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1718, allocations: 4 kB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1718, allocations: 0 / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007875/0.1726, allocations: 436.1 kB / 0.7022 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1727, allocations: 4.031 kB / 0.7022 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1727, allocations: 4 kB / 0.7022 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003772/0.1731, allocations: 64.86 kB / 0.7023 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1731, allocations: 8 kB / 0.7023 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.1753, allocations: 1.775 MB / 0.704 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1753, allocations: 3.938 kB / 0.704 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.1759, allocations: 257.1 kB / 0.7043 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1759, allocations: 93 kB / 0.7044 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1759, allocations: 3.938 kB / 0.7044 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1761, allocations: 4 kB / 0.7044 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.1761, allocations: 15.92 kB / 0.7044 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1761, allocations: 4 kB / 0.7044 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001078/0.1762, allocations: 123 kB / 0.7045 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1762, allocations: 0 / 0.7045 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004169/0.1767, allocations: 63.92 kB / 0.7046 GB, free: 8.262 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 (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.001046/0.1777, allocations: 0.8387 MB / 0.7054 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005867/0.1783, allocations: 214.6 kB / 0.7056 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1783, allocations: 0 / 0.7056 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.1787, allocations: 170.6 kB / 0.7058 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.179, allocations: 20.64 kB / 0.7058 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.1818, allocations: 1.874 MB / 0.7076 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1821, allocations: 0.6928 MB / 0.7083 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.245e-05/0.1822, allocations: 16.88 kB / 0.7083 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.1823, allocations: 27.42 kB / 0.7083 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1823, allocations: 0 / 0.7083 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.2125, allocations: 3.98 MB / 0.7122 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.52, allocations: 6.938 kB / 0.7122 GB, free: 500 kB / 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)