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.005858/0.005858, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001342/0.001343, allocations: 188.1 kB / 16.67 MB, free: 5.918 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002606/0.002606, allocations: 270.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.112/1.112, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 100.1 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1676, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002936/0.1705, allocations: 1.752 MB / 0.7676 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1718, allocations: 0.7521 MB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.1719, allocations: 0 / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.1719, allocations: 11.86 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.172, allocations: 23.78 kB / 0.7684 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1724, allocations: 103.6 kB / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1726, allocations: 135.5 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1727, allocations: 41.69 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1729, allocations: 55.84 kB / 0.7687 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.173, allocations: 59.73 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.173, allocations: 12 kB / 0.7688 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1732, allocations: 75.94 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.1733, allocations: 23.92 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.1733, allocations: 55.66 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1736, allocations: 191.2 kB / 0.7691 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1736, allocations: 7.938 kB / 0.7691 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1737, allocations: 0 / 0.7691 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.1737, allocations: 0 / 0.7691 GB, free: 5.664 MB / 0.5606 GB 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.000749/0.1744, allocations: 454.7 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1745, allocations: 12.02 kB / 0.7695 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.1745, allocations: 42.75 kB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.1746, allocations: 20.84 kB / 0.7696 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1747, allocations: 188.2 kB / 0.7698 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1748, allocations: 59.97 kB / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1749, allocations: 8.375 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1752, allocations: 135.7 kB / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1752, allocations: 0 / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1752, allocations: 0 / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1752, allocations: 4 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.1756, allocations: 119.9 kB / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.1763, allocations: 448.2 kB / 0.7705 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.1765, allocations: 94.41 kB / 0.7706 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1767, allocations: 56.83 kB / 0.7707 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.1773, allocations: 315.2 kB / 0.771 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1773, allocations: 38.56 kB / 0.771 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1773, allocations: 0 / 0.771 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.001403/0.1787, allocations: 383.5 kB / 0.7714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1788, allocations: 51.41 kB / 0.7714 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.179, allocations: 175.1 kB / 0.7716 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.179, allocations: 29.7 kB / 0.7716 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.1791, allocations: 116 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1791, allocations: 31.69 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.1792, allocations: 29.7 kB / 0.7718 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1794, allocations: 326.8 kB / 0.7721 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1795, allocations: 43.97 kB / 0.7721 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1797, allocations: 51.97 kB / 0.7722 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.1799, allocations: 117.2 kB / 0.7723 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.18, allocations: 0 / 0.7723 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006306/0.1806, allocations: 225.4 kB / 0.7725 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1806, allocations: 4 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1806, allocations: 7.922 kB / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.1811, allocations: 72.73 kB / 0.7726 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1812, allocations: 23.98 kB / 0.7726 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3151/0.4964, allocations: 1.76 MB / 0.7743 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.4966, allocations: 17.06 kB / 0.7743 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4966, allocations: 8.141 kB / 0.7744 GB, free: 14.2 MB / 0.5606 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.0001129/0.4967, allocations: 121 kB / 0.7745 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.4968, allocations: 16.97 kB / 0.7745 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.4976, allocations: 205.1 kB / 0.7747 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4976, allocations: 3.422 kB / 0.7747 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4976, allocations: 1.188 kB / 0.7747 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4976, allocations: 3.844 kB / 0.7747 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.4985, allocations: 495.1 kB / 0.7752 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4985, allocations: 1.25 kB / 0.7752 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.4986, allocations: 15.67 kB / 0.7752 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003917/0.499, allocations: 78.25 kB / 0.7753 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.499, allocations: 5.047 kB / 0.7753 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.5007, allocations: 1.758 MB / 0.777 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5007, allocations: 1.391 kB / 0.777 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.5013, allocations: 300.8 kB / 0.7773 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.5014, allocations: 95.88 kB / 0.7774 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.5014, allocations: 2.391 kB / 0.7774 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.5015, allocations: 11.42 kB / 0.7774 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.5016, allocations: 16.33 kB / 0.7774 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5016, allocations: 4.406 kB / 0.7774 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.5017, allocations: 128.9 kB / 0.7775 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5017, allocations: 0 / 0.7775 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004094/0.5022, allocations: 50.91 kB / 0.7776 GB, free: 11.91 MB / 0.5606 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.0008779/0.503, allocations: 0.8687 MB / 0.7784 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006469/0.5037, allocations: 253.2 kB / 0.7786 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5037, allocations: 3.906 kB / 0.7787 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.5041, allocations: 190.5 kB / 0.7788 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.5044, allocations: 15.31 kB / 0.7788 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.507, allocations: 1.972 MB / 0.7808 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.5072, allocations: 0.7035 MB / 0.7815 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.036e-05/0.5073, allocations: 14.17 kB / 0.7815 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.5073, allocations: 37.84 kB / 0.7815 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5074, allocations: 3.906 kB / 0.7815 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.5386, allocations: 4.18 MB / 0.7856 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.82, allocations: 19.58 kB / 0.7856 GB, free: 8.598 MB / 0.5606 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)