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.003747/0.003747, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.000977/0.0009771, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.183/1.183, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 279.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8541/0.8541, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 99.84 kB / 0.6809 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3365, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002404/0.3389, allocations: 1.674 MB / 0.7675 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.3398, allocations: 0.5897 MB / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.3399, allocations: 0 / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.3399, allocations: 11.86 kB / 0.7681 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.3402, allocations: 43.75 kB / 0.7681 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.3404, allocations: 99.64 kB / 0.7682 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3405, allocations: 103.7 kB / 0.7683 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.3406, allocations: 35.77 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.3407, allocations: 43.84 kB / 0.7684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.3408, allocations: 51.77 kB / 0.7685 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3408, allocations: 12 kB / 0.7685 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.341, allocations: 99.91 kB / 0.7686 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.341, allocations: 23.92 kB / 0.7686 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.3411, allocations: 47.78 kB / 0.7686 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3413, allocations: 176.6 kB / 0.7688 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3413, allocations: 0 / 0.7688 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3414, allocations: 0 / 0.7688 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3414, allocations: 4 kB / 0.7688 GB, free: 0.8438 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.0005527/0.3419, allocations: 442.8 kB / 0.7692 GB, free: 368 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.342, allocations: 8.031 kB / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.342, allocations: 42.75 kB / 0.7693 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.3421, allocations: 20.88 kB / 0.7693 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3422, allocations: 180.2 kB / 0.7695 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.3423, allocations: 67.95 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3423, allocations: 8.375 kB / 0.7695 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3425, allocations: 112.4 kB / 0.7697 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3425, allocations: 4 kB / 0.7697 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3426, allocations: 4 kB / 0.7697 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3426, allocations: 4 kB / 0.7697 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.3428, allocations: 95.94 kB / 0.7698 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.3434, allocations: 444.2 kB / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3436, allocations: 90.56 kB / 0.7703 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.3437, allocations: 32.89 kB / 0.7703 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/0.3441, allocations: 323.2 kB / 0.7706 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3442, allocations: 30.56 kB / 0.7706 GB, free: 14.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3442, allocations: 3.938 kB / 0.7706 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001121/0.3453, allocations: 335.4 kB / 0.771 GB, free: 14.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.3454, allocations: 51.41 kB / 0.771 GB, free: 14.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3455, allocations: 165.5 kB / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3455, allocations: 25.7 kB / 0.7712 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.3456, allocations: 112 kB / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3456, allocations: 27.73 kB / 0.7713 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.3456, allocations: 29.66 kB / 0.7714 GB, free: 13.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.3457, allocations: 322.8 kB / 0.7717 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.065e-05/0.3458, allocations: 35.98 kB / 0.7717 GB, free: 13.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.3459, allocations: 35.92 kB / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3461, allocations: 76.77 kB / 0.7718 GB, free: 13.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3461, allocations: 4 kB / 0.7718 GB, free: 13.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004927/0.3466, allocations: 182.3 kB / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3466, allocations: 7.938 kB / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3466, allocations: 0 / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/0.347, allocations: 72.73 kB / 0.7721 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.3471, allocations: 12 kB / 0.7721 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.3491, allocations: 1.771 MB / 0.7738 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-05/0.3492, allocations: 15.88 kB / 0.7738 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3492, allocations: 4 kB / 0.7738 GB, free: 11.25 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 7.553e-05/0.3493, allocations: 122.5 kB / 0.7739 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3494, allocations: 7.953 kB / 0.7739 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.3499, allocations: 171 kB / 0.7741 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3499, allocations: 4 kB / 0.7741 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3499, allocations: 4 kB / 0.7741 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3499, allocations: 3.984 kB / 0.7741 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.3506, allocations: 440 kB / 0.7745 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3506, allocations: 0 / 0.7745 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.3506, allocations: 11.92 kB / 0.7745 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.351, allocations: 68.8 kB / 0.7746 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.351, allocations: 8.031 kB / 0.7746 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.3528, allocations: 1.76 MB / 0.7763 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3528, allocations: 4.062 kB / 0.7763 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.3533, allocations: 253 kB / 0.7766 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.3533, allocations: 97.02 kB / 0.7767 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3534, allocations: 7.938 kB / 0.7767 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.3535, allocations: 3.984 kB / 0.7767 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3535, allocations: 11.98 kB / 0.7767 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3535, allocations: 7.938 kB / 0.7767 GB, free: 8.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.3536, allocations: 119.2 kB / 0.7768 GB, free: 7.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3536, allocations: 0 / 0.7768 GB, free: 7.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003774/0.354, allocations: 59.81 kB / 0.7769 GB, free: 7.848 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.0008806/0.3549, allocations: 0.847 MB / 0.7777 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.3554, allocations: 214.5 kB / 0.7779 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3554, allocations: 0 / 0.7779 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.3558, allocations: 174.8 kB / 0.7781 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.356, allocations: 17 kB / 0.7781 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.3585, allocations: 1.878 MB / 0.7799 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.3587, allocations: 0.6967 MB / 0.7806 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.3588, allocations: 16.88 kB / 0.7806 GB, free: 3.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.3588, allocations: 23.44 kB / 0.7806 GB, free: 3.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.3588, allocations: 0 / 0.7806 GB, free: 3.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.3826, allocations: 4.042 MB / 0.7846 GB, free: 12 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.923/10.31, allocations: 8.328 kB / 0.7846 GB, free: 8 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)