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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7806/0.7806, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 176.9 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.0008869, allocations: 100.9 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 279.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.081e-05, allocations: 0 / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3495, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.478, allocations: 109.4 MB / 0.8643 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4783, allocations: 71.95 kB / 0.8644 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009136/0.4875, allocations: 2.934 MB / 0.8672 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4875, allocations: 0 / 0.8672 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4876, allocations: 0 / 0.8672 GB, free: 15.34 MB / 0.5417 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.0005575/0.4881, allocations: 430.2 kB / 0.8676 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4882, allocations: 8.031 kB / 0.8676 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.4882, allocations: 11.91 kB / 0.8677 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.4884, allocations: 170.9 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.4885, allocations: 75.28 kB / 0.8679 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.4885, allocations: 4 kB / 0.8679 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001814/0.4887, allocations: 83.98 kB / 0.868 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4889, allocations: 91.2 kB / 0.8681 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4889, allocations: 3.938 kB / 0.8681 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4889, allocations: 0 / 0.8681 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.489, allocations: 8 kB / 0.8681 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.4896, allocations: 393 kB / 0.8684 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.4898, allocations: 62.45 kB / 0.8685 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.4898, allocations: 32.95 kB / 0.8685 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/0.4903, allocations: 315.4 kB / 0.8688 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4904, allocations: 30.56 kB / 0.8689 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.4904, allocations: 0 / 0.8689 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0007069/0.4911, allocations: 170.3 kB / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.4911, allocations: 55.41 kB / 0.8691 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.4913, allocations: 105 kB / 0.8692 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4913, allocations: 25.7 kB / 0.8692 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.4914, allocations: 123.6 kB / 0.8693 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.4914, allocations: 23.66 kB / 0.8693 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.4914, allocations: 0 / 0.8693 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4916, allocations: 322.8 kB / 0.8697 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/0.4916, allocations: 24 kB / 0.8697 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.4917, allocations: 28 kB / 0.8697 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4919, allocations: 51.95 kB / 0.8698 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4919, allocations: 0 / 0.8698 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006009/0.4925, allocations: 187 kB / 0.8699 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4925, allocations: 4 kB / 0.8699 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4925, allocations: 4 kB / 0.8699 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.493, allocations: 72.75 kB / 0.87 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.4931, allocations: 15.98 kB / 0.87 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.4948, allocations: 1.49 MB / 0.8715 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.078e-05/0.4949, allocations: 7.938 kB / 0.8715 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4949, allocations: 0 / 0.8715 GB, free: 10.59 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 8.334e-05/0.495, allocations: 109 kB / 0.8716 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006029/0.4956, allocations: 170.4 kB / 0.8718 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.4956, allocations: 7.906 kB / 0.8718 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.4962, allocations: 186.9 kB / 0.8719 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4963, allocations: 4.141 kB / 0.8719 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4963, allocations: 3.984 kB / 0.8719 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4963, allocations: 0 / 0.8719 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.4971, allocations: 436.5 kB / 0.8724 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4971, allocations: 0 / 0.8724 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.4972, allocations: 4 kB / 0.8724 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003699/0.4975, allocations: 68.83 kB / 0.8724 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4976, allocations: 4 kB / 0.8724 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.4991, allocations: 1.474 MB / 0.8739 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.4992, allocations: 8.016 kB / 0.8739 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.4998, allocations: 286.4 kB / 0.8742 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.4999, allocations: 85.02 kB / 0.8742 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4999, allocations: 7.984 kB / 0.8742 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.5, allocations: 4 kB / 0.8742 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.5, allocations: 7.984 kB / 0.8743 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5001, allocations: 0 / 0.8743 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.5001, allocations: 95.33 kB / 0.8743 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5001, allocations: 4 kB / 0.8744 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004147/0.5006, allocations: 67.86 kB / 0.8744 GB, free: 7.352 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.5016, allocations: 0.9326 MB / 0.8753 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.5021, allocations: 189.9 kB / 0.8755 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5021, allocations: 4 kB / 0.8755 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.5024, allocations: 153.7 kB / 0.8757 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.5026, allocations: 9.359 kB / 0.8757 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.5031, allocations: 198.8 kB / 0.8759 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5035, allocations: 0.7002 MB / 0.8765 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.853e-05/0.5035, allocations: 11.94 kB / 0.8766 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.5036, allocations: 28.83 kB / 0.8766 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.5036, allocations: 0 / 0.8766 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.525, allocations: 2.61 MB / 0.8791 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.5253, allocations: 188.3 kB / 0.8793 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.135, allocations: 0.6875 kB / 0.8793 GB, free: 2.238 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Static_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 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)