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.006971/0.006971, allocations: 97.3 kB / 15.73 MB, free: 6.043 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.001861/0.001861, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.448/1.448, 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.002785/0.002785, allocations: 282.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.114/1.114, allocations: 178.6 MB / 0.5074 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 102 kB / 0.6943 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5172, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002922/0.5202, allocations: 1.688 MB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.5212, allocations: 0.597 MB / 0.7835 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.5213, allocations: 1.281 kB / 0.7835 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.5213, allocations: 12 kB / 0.7835 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.5216, allocations: 41.14 kB / 0.7836 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.5218, allocations: 90.39 kB / 0.7837 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.522, allocations: 104.9 kB / 0.7838 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.5221, allocations: 37.81 kB / 0.7838 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.5222, allocations: 37.44 kB / 0.7838 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.5223, allocations: 58.89 kB / 0.7839 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.5223, allocations: 9.219 kB / 0.7839 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.5225, allocations: 95.94 kB / 0.784 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.5226, allocations: 25.89 kB / 0.784 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.5227, allocations: 44.42 kB / 0.7841 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.523, allocations: 182.5 kB / 0.7842 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.523, allocations: 5.25 kB / 0.7842 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.523, allocations: 0 / 0.7842 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.523, allocations: 0.5156 kB / 0.7842 GB, free: 11.93 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.0007264/0.5237, allocations: 434.3 kB / 0.7847 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5238, allocations: 10.62 kB / 0.7847 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.5238, allocations: 44.8 kB / 0.7847 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.5239, allocations: 11.55 kB / 0.7847 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.5241, allocations: 186.8 kB / 0.7849 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.5242, allocations: 64.36 kB / 0.785 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.5242, allocations: 11.83 kB / 0.785 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.5245, allocations: 129.5 kB / 0.7851 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5245, allocations: 1.031 kB / 0.7851 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.5245, allocations: 9.25 kB / 0.7851 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.5246, allocations: 2.25 kB / 0.7851 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.5248, allocations: 92.94 kB / 0.7852 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.5255, allocations: 435.2 kB / 0.7856 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.5258, allocations: 82.64 kB / 0.7857 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.5259, allocations: 42.61 kB / 0.7857 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.5265, allocations: 312.3 kB / 0.786 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.5266, allocations: 36.62 kB / 0.7861 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.5266, allocations: 0 / 0.7861 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001357/0.528, allocations: 328.1 kB / 0.7864 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.528, allocations: 61.14 kB / 0.7864 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.5282, allocations: 160 kB / 0.7866 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5282, allocations: 26.98 kB / 0.7866 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.5283, allocations: 111.7 kB / 0.7867 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.5284, allocations: 25.33 kB / 0.7867 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.5284, allocations: 30.81 kB / 0.7868 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5286, allocations: 324.7 kB / 0.7871 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.5287, allocations: 35.11 kB / 0.7871 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-05/0.5288, allocations: 34.05 kB / 0.7872 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.529, allocations: 74.77 kB / 0.7872 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.529, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005606/0.5296, allocations: 183.1 kB / 0.7874 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5296, allocations: 4.812 kB / 0.7874 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.5296, allocations: 1.125 kB / 0.7874 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.5301, allocations: 75.77 kB / 0.7875 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.5302, allocations: 11.3 kB / 0.7875 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.5327, allocations: 1.773 MB / 0.7892 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.5328, allocations: 18.41 kB / 0.7892 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5329, allocations: 1.969 kB / 0.7892 GB, free: 7.625 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 (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.0001155/0.533, allocations: 119.2 kB / 0.7894 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.533, allocations: 9.469 kB / 0.7894 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.5336, allocations: 182.8 kB / 0.7895 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5337, allocations: 1.656 kB / 0.7895 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.5337, allocations: 0.9375 kB / 0.7895 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5337, allocations: 4.5 kB / 0.7895 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000843/0.5345, allocations: 445.5 kB / 0.79 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.5345, allocations: 1.5 kB / 0.79 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.5346, allocations: 5.859 kB / 0.79 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.535, allocations: 72.08 kB / 0.79 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.535, allocations: 2.203 kB / 0.79 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.5372, allocations: 1.763 MB / 0.7918 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5372, allocations: 0.5312 kB / 0.7918 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.5379, allocations: 266.6 kB / 0.792 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.538, allocations: 88.91 kB / 0.7921 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.538, allocations: 6.141 kB / 0.7921 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.5381, allocations: 4 kB / 0.7921 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.5382, allocations: 15.11 kB / 0.7921 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.5382, allocations: 2.875 kB / 0.7921 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001402/0.5383, allocations: 128.4 kB / 0.7923 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.506e-06/0.5383, allocations: 4.594 kB / 0.7923 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005113/0.5389, allocations: 61.09 kB / 0.7923 GB, free: 4.969 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 (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.001232/0.5401, allocations: 0.8371 MB / 0.7931 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006784/0.5408, allocations: 215.1 kB / 0.7933 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5408, allocations: 1 kB / 0.7933 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.5412, allocations: 164.8 kB / 0.7935 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5415, allocations: 16.41 kB / 0.7935 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.5445, allocations: 1.882 MB / 0.7954 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.5448, allocations: 0.7017 MB / 0.796 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.307e-05/0.5449, allocations: 9.328 kB / 0.796 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.545, allocations: 31.72 kB / 0.7961 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of SimCode: time 4.5e-07/0.545, allocations: 0 / 0.7961 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.5763, allocations: 4.045 MB / 0.8 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12, allocations: 5.266 kB / 0.8 GB, free: 0.5859 MB / 0.5606 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)