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.005258/0.005258, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.00128/0.00128, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 282.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004545/0.004545, allocations: 95.84 kB / 0.6809 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.466, allocations: 86.98 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002876/0.4689, allocations: 1.666 MB / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.4699, allocations: 0.5975 MB / 0.7681 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.47, allocations: 0 / 0.7681 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.47, allocations: 11.86 kB / 0.7681 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.4703, allocations: 47.7 kB / 0.7682 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.4705, allocations: 95.69 kB / 0.7682 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.4707, allocations: 95.7 kB / 0.7683 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4708, allocations: 39.77 kB / 0.7684 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.4708, allocations: 47.83 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.471, allocations: 47.77 kB / 0.7685 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.471, allocations: 16 kB / 0.7685 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.4712, allocations: 95.92 kB / 0.7686 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.4713, allocations: 19.91 kB / 0.7686 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.4713, allocations: 51.78 kB / 0.7686 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.4716, allocations: 180.6 kB / 0.7688 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4716, allocations: 0 / 0.7688 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4716, allocations: 3.938 kB / 0.7688 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.4716, allocations: 0 / 0.7688 GB, free: 0.8867 MB / 0.5294 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.0006631/0.4723, allocations: 438.8 kB / 0.7692 GB, free: 416 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.4724, allocations: 12.03 kB / 0.7692 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.4724, allocations: 42.75 kB / 0.7693 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.4725, allocations: 8.891 kB / 0.7693 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4726, allocations: 180.2 kB / 0.7695 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.4727, allocations: 63.97 kB / 0.7695 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4728, allocations: 16.36 kB / 0.7695 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.473, allocations: 116.4 kB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.473, allocations: 4 kB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4731, allocations: 4 kB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4731, allocations: 7.984 kB / 0.7697 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.4733, allocations: 99.89 kB / 0.7698 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.474, allocations: 436.2 kB / 0.7702 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.4742, allocations: 90.56 kB / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.51e-05/0.4743, allocations: 36.89 kB / 0.7703 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.4749, allocations: 315.2 kB / 0.7706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.4749, allocations: 30.56 kB / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.475, allocations: 0 / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001208/0.4762, allocations: 335.3 kB / 0.7709 GB, free: 14.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4762, allocations: 55.41 kB / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.4764, allocations: 165.5 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4764, allocations: 33.7 kB / 0.7712 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.4765, allocations: 108 kB / 0.7713 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.4765, allocations: 23.8 kB / 0.7713 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.4766, allocations: 29.66 kB / 0.7713 GB, free: 13.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4767, allocations: 326.8 kB / 0.7717 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4768, allocations: 31.98 kB / 0.7717 GB, free: 13.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/0.4769, allocations: 39.86 kB / 0.7717 GB, free: 13.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.4771, allocations: 72.84 kB / 0.7718 GB, free: 13.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4771, allocations: 4 kB / 0.7718 GB, free: 13.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005483/0.4777, allocations: 182.3 kB / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4777, allocations: 4 kB / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4777, allocations: 0 / 0.772 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.4782, allocations: 76.73 kB / 0.772 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.4783, allocations: 8 kB / 0.7721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.4805, allocations: 1.771 MB / 0.7738 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.4806, allocations: 23.91 kB / 0.7738 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.4806, allocations: 320 / 0.7738 GB, free: 11.3 MB / 0.545 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 9.19e-05/0.4807, allocations: 117.9 kB / 0.7739 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.4808, allocations: 11.95 kB / 0.7739 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005453/0.4813, allocations: 175 kB / 0.7741 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4814, allocations: 8 kB / 0.7741 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.4814, allocations: 0 / 0.7741 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4814, allocations: 3.984 kB / 0.7741 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/0.4821, allocations: 444 kB / 0.7745 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4821, allocations: 3.938 kB / 0.7745 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.4822, allocations: 7.984 kB / 0.7745 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/0.4825, allocations: 64.8 kB / 0.7746 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4826, allocations: 8.031 kB / 0.7746 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.4847, allocations: 1.76 MB / 0.7763 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4847, allocations: 4.062 kB / 0.7763 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.4852, allocations: 261 kB / 0.7766 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.4853, allocations: 93.02 kB / 0.7767 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4853, allocations: 7.938 kB / 0.7767 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.4854, allocations: 7.984 kB / 0.7767 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.4855, allocations: 7.984 kB / 0.7767 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4855, allocations: 4 kB / 0.7767 GB, free: 8.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001047/0.4856, allocations: 123.2 kB / 0.7768 GB, free: 7.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.004e-06/0.4856, allocations: 0 / 0.7768 GB, free: 7.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004022/0.4861, allocations: 59.81 kB / 0.7769 GB, free: 7.891 MB / 0.545 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.0009929/0.4871, allocations: 0.8387 MB / 0.7777 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.4876, allocations: 218.5 kB / 0.7779 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4877, allocations: 0 / 0.7779 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.488, allocations: 166.7 kB / 0.7781 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.4883, allocations: 10.5 kB / 0.7781 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.4909, allocations: 1.885 MB / 0.7799 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4912, allocations: 0.7005 MB / 0.7806 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.595e-05/0.4913, allocations: 21.05 kB / 0.7806 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.4914, allocations: 23.44 kB / 0.7806 GB, free: 3.863 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4914, allocations: 0 / 0.7806 GB, free: 3.863 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.5218, allocations: 4.042 MB / 0.7846 GB, free: 60 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.83, allocations: 4.5 kB / 0.7846 GB, free: 56 kB / 0.545 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)