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.004463/0.004464, allocations: 103.6 kB / 15.74 MB, free: 6.445 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.001274/0.001274, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 282.5 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 99.84 kB / 0.6943 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4902, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.003098/0.4934, allocations: 1.771 MB / 0.783 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4947, allocations: 0.7406 MB / 0.7838 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.4947, allocations: 1.281 kB / 0.7838 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.4948, allocations: 14.88 kB / 0.7838 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.4949, allocations: 29.73 kB / 0.7838 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.4953, allocations: 94.72 kB / 0.7839 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.4955, allocations: 134.1 kB / 0.784 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.4956, allocations: 36.67 kB / 0.7841 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.4958, allocations: 55.16 kB / 0.7841 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.4959, allocations: 64.89 kB / 0.7842 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.496, allocations: 10.78 kB / 0.7842 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.4961, allocations: 71.62 kB / 0.7842 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.4962, allocations: 27.34 kB / 0.7843 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.4963, allocations: 64.34 kB / 0.7843 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.4966, allocations: 176.5 kB / 0.7845 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4966, allocations: 0 / 0.7845 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4966, allocations: 0 / 0.7845 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.4966, allocations: 0.5625 kB / 0.7845 GB, free: 11.71 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.0007937/0.4974, allocations: 454 kB / 0.7849 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4975, allocations: 10.12 kB / 0.7849 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.4975, allocations: 45.7 kB / 0.785 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.4976, allocations: 16.47 kB / 0.785 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.4978, allocations: 186.9 kB / 0.7852 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.4979, allocations: 68.95 kB / 0.7852 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4979, allocations: 11.5 kB / 0.7853 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.4983, allocations: 133.5 kB / 0.7854 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4983, allocations: 1.094 kB / 0.7854 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4983, allocations: 5.312 kB / 0.7854 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4983, allocations: 2.75 kB / 0.7854 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.4987, allocations: 129.4 kB / 0.7855 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.4994, allocations: 443.3 kB / 0.7859 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.4997, allocations: 86.91 kB / 0.786 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.4998, allocations: 60.52 kB / 0.7861 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.5004, allocations: 316.6 kB / 0.7864 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5005, allocations: 32.09 kB / 0.7864 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.5005, allocations: 0 / 0.7864 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.001499/0.502, allocations: 388.9 kB / 0.7868 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.502, allocations: 53.38 kB / 0.7868 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.5022, allocations: 178.8 kB / 0.787 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.5022, allocations: 30.86 kB / 0.787 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.5023, allocations: 116.5 kB / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.5024, allocations: 30.94 kB / 0.7872 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.5024, allocations: 32.59 kB / 0.7872 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5026, allocations: 327.1 kB / 0.7875 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.5028, allocations: 50.42 kB / 0.7876 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.5029, allocations: 48.2 kB / 0.7876 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.5032, allocations: 110.5 kB / 0.7877 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5032, allocations: 0 / 0.7877 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006626/0.5039, allocations: 219.6 kB / 0.7879 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5039, allocations: 4.844 kB / 0.7879 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5039, allocations: 4 kB / 0.7879 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004643/0.5044, allocations: 72.31 kB / 0.788 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5045, allocations: 24.67 kB / 0.788 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.5069, allocations: 1.768 MB / 0.7898 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.5071, allocations: 26.8 kB / 0.7898 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.5071, allocations: 2.984 kB / 0.7898 GB, free: 7.328 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.0001042/0.5072, allocations: 115.6 kB / 0.7899 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.5073, allocations: 18.17 kB / 0.7899 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.5079, allocations: 217.4 kB / 0.7901 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.508, allocations: 1.781 kB / 0.7901 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.508, allocations: 0 / 0.7901 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.508, allocations: 2.391 kB / 0.7901 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.5089, allocations: 492.9 kB / 0.7906 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5089, allocations: 0.5938 kB / 0.7906 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.509, allocations: 14.42 kB / 0.7906 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003918/0.5094, allocations: 71.92 kB / 0.7907 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5095, allocations: 3.141 kB / 0.7907 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.5118, allocations: 1.753 MB / 0.7924 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5119, allocations: 0.625 kB / 0.7924 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.5126, allocations: 306.7 kB / 0.7927 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.5127, allocations: 94.23 kB / 0.7928 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.5127, allocations: 13.66 kB / 0.7928 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5128, allocations: 20.39 kB / 0.7928 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.5129, allocations: 9.469 kB / 0.7928 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.5129, allocations: 3.656 kB / 0.7928 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001313/0.5131, allocations: 127 kB / 0.7929 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5131, allocations: 0 / 0.7929 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003915/0.5135, allocations: 53.09 kB / 0.793 GB, free: 4.648 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.001241/0.5147, allocations: 0.8641 MB / 0.7938 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006867/0.5154, allocations: 251 kB / 0.7941 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5154, allocations: 0 / 0.7941 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.5159, allocations: 197.7 kB / 0.7943 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.5162, allocations: 13.48 kB / 0.7943 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5193, allocations: 1.98 MB / 0.7962 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.5197, allocations: 0.704 MB / 0.7969 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.483e-05/0.5197, allocations: 13.48 kB / 0.7969 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.5198, allocations: 33.66 kB / 0.7969 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of SimCode: time 2.545e-06/0.5198, allocations: 0 / 0.7969 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.5629, allocations: 4.196 MB / 0.801 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.03, allocations: 12.34 kB / 0.8011 GB, free: 15.95 MB / 0.5762 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)