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.001293/0.001293, 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.001362/0.001362, allocations: 198.5 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 283.1 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.9518/0.9518, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001732, allocations: 96.03 kB / 0.5953 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.003117/0.1595, allocations: 1.744 MB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1607, allocations: 0.7453 MB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1608, allocations: 8 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.448e-05/0.1609, allocations: 11.86 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.161, allocations: 19.73 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.1614, allocations: 103.6 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1616, allocations: 135.5 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1618, allocations: 45.62 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1619, allocations: 51.84 kB / 0.6831 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.162, allocations: 63.73 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.1621, allocations: 12 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.1623, allocations: 75.94 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.1623, allocations: 31.8 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1624, allocations: 51.72 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1627, allocations: 167.5 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1627, allocations: 0 / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.1627, allocations: 4 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1627, allocations: 3.938 kB / 0.6835 GB, free: 13.34 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.000717/0.1634, allocations: 458.9 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1635, allocations: 8.031 kB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.1635, allocations: 38.75 kB / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.1636, allocations: 12.84 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1637, allocations: 184.2 kB / 0.6841 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.1638, allocations: 67.91 kB / 0.6842 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1638, allocations: 12.38 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.1641, allocations: 131.5 kB / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1642, allocations: 0 / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1642, allocations: 8 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1642, allocations: 0 / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.1645, allocations: 123.9 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.1652, allocations: 452 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1654, allocations: 90.47 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1656, allocations: 52.83 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/0.1661, allocations: 323.1 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1662, allocations: 30.56 kB / 0.6854 GB, free: 11.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1662, allocations: 0 / 0.6854 GB, free: 11.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001404/0.1676, allocations: 391.4 kB / 0.6857 GB, free: 10.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.1676, allocations: 51.41 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1678, allocations: 171.1 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1678, allocations: 25.7 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.1679, allocations: 115.9 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1679, allocations: 35.5 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.168, allocations: 25.7 kB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.1681, allocations: 334.7 kB / 0.6865 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1682, allocations: 43.97 kB / 0.6865 GB, free: 9.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1684, allocations: 58.47 kB / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1686, allocations: 108.8 kB / 0.6867 GB, free: 9.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1687, allocations: 4 kB / 0.6867 GB, free: 9.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006252/0.1693, allocations: 216.8 kB / 0.6869 GB, free: 9.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1693, allocations: 8 kB / 0.6869 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1693, allocations: 0 / 0.6869 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.1698, allocations: 76.72 kB / 0.687 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1699, allocations: 19.98 kB / 0.687 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.172, allocations: 1.769 MB / 0.6887 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1721, allocations: 19.86 kB / 0.6887 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.1722, allocations: 4 kB / 0.6887 GB, free: 7.48 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 (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 9.134e-05/0.1723, allocations: 122.4 kB / 0.6888 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1723, allocations: 15.97 kB / 0.6889 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.173, allocations: 211.6 kB / 0.6891 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.173, allocations: 480 / 0.6891 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.173, allocations: 8 kB / 0.6891 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.173, allocations: 0 / 0.6891 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008501/0.1739, allocations: 492 kB / 0.6895 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1739, allocations: 0 / 0.6895 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.174, allocations: 19.86 kB / 0.6896 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.1743, allocations: 72.95 kB / 0.6896 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1743, allocations: 4 kB / 0.6896 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.1762, allocations: 1.764 MB / 0.6913 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1762, allocations: 0 / 0.6913 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.1769, allocations: 301.1 kB / 0.6916 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1769, allocations: 88.91 kB / 0.6917 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1769, allocations: 11.94 kB / 0.6917 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1771, allocations: 8 kB / 0.6917 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1772, allocations: 11.92 kB / 0.6917 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1772, allocations: 11.98 kB / 0.6918 GB, free: 4.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.1773, allocations: 129.8 kB / 0.6919 GB, free: 3.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1773, allocations: 0 / 0.6919 GB, free: 3.984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1777, allocations: 51.94 kB / 0.6919 GB, free: 3.934 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 (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.00095/0.1786, allocations: 0.8622 MB / 0.6928 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006419/0.1793, allocations: 266.4 kB / 0.693 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1793, allocations: 0 / 0.693 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.1797, allocations: 178.7 kB / 0.6932 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.18, allocations: 26.83 kB / 0.6932 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.1827, allocations: 1.96 MB / 0.6951 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.183, allocations: 0.7047 MB / 0.6958 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.44e-05/0.183, allocations: 16.53 kB / 0.6958 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1831, allocations: 39.36 kB / 0.6959 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1831, allocations: 0 / 0.6959 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.2072, allocations: 4.096 MB / 0.6999 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.55, allocations: 14.84 kB / 0.6999 GB, free: 11.82 MB / 0.4981 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)