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.9169/0.9169, allocations: 143.3 MB / 158.3 MB, free: 5.812 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.001402/0.001403, allocations: 187.7 kB / 191.5 MB, free: 5.754 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.467/1.467, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.001017/0.001017, allocations: 95.77 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 278.4 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005113, allocations: 10.22 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1832, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5948/0.7781, allocations: 110.1 MB / 0.8813 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.7784, allocations: 81.27 kB / 0.8814 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007862/0.7863, allocations: 2.948 MB / 0.8843 GB, free: 31.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7863, allocations: 0 / 0.8843 GB, free: 31.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.7863, allocations: 2.656 kB / 0.8843 GB, free: 31.21 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.0005672/0.7869, allocations: 430.2 kB / 0.8847 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.787, allocations: 11.8 kB / 0.8847 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.787, allocations: 45.11 kB / 0.8847 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.7871, allocations: 13.06 kB / 0.8847 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.7872, allocations: 175.3 kB / 0.8849 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-05/0.7873, allocations: 72.22 kB / 0.885 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.7873, allocations: 11.91 kB / 0.885 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.7875, allocations: 110.9 kB / 0.8851 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7876, allocations: 0.7031 kB / 0.8851 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7876, allocations: 3.438 kB / 0.8851 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7876, allocations: 2.625 kB / 0.8851 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.7879, allocations: 116.9 kB / 0.8852 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.7885, allocations: 442.6 kB / 0.8856 GB, free: 30.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.7887, allocations: 87.12 kB / 0.8857 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.7892, allocations: 314.1 kB / 0.886 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.7893, allocations: 32.86 kB / 0.8861 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.7893, allocations: 0 / 0.8861 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.001249/0.7905, allocations: 371.4 kB / 0.8864 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.7906, allocations: 55.36 kB / 0.8865 GB, free: 29.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.7907, allocations: 156.5 kB / 0.8866 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.7907, allocations: 25.7 kB / 0.8866 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.7908, allocations: 108.7 kB / 0.8867 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.7908, allocations: 23.98 kB / 0.8868 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.7908, allocations: 11.12 kB / 0.8868 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.7909, allocations: 322.5 kB / 0.8871 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.791, allocations: 34.41 kB / 0.8871 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.7911, allocations: 35.47 kB / 0.8871 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.619e-05/0.7912, allocations: 42.27 kB / 0.8872 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7912, allocations: 0 / 0.8872 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005493/0.7918, allocations: 191.1 kB / 0.8874 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7918, allocations: 15.7 kB / 0.8874 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7918, allocations: 0 / 0.8874 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.7923, allocations: 88 kB / 0.8875 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.7924, allocations: 10.8 kB / 0.8875 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.7954, allocations: 1.623 MB / 0.8891 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.7955, allocations: 18.42 kB / 0.8891 GB, free: 43.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.7955, allocations: 3.297 kB / 0.8891 GB, free: 43.59 MB / 0.5573 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 (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 0.0001086/0.7956, allocations: 120.7 kB / 0.8892 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.7957, allocations: 13.62 kB / 0.8892 GB, free: 43.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.7963, allocations: 186.3 kB / 0.8894 GB, free: 43.41 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7963, allocations: 0.5156 kB / 0.8894 GB, free: 43.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.7963, allocations: 288 / 0.8894 GB, free: 43.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.7963, allocations: 8.656 kB / 0.8894 GB, free: 43.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007975/0.7971, allocations: 461.4 kB / 0.8898 GB, free: 43.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7971, allocations: 0 / 0.8898 GB, free: 43.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.7972, allocations: 16.33 kB / 0.8899 GB, free: 43.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.7976, allocations: 80.12 kB / 0.8899 GB, free: 43.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.7976, allocations: 1.719 kB / 0.8899 GB, free: 43.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.7996, allocations: 1.615 MB / 0.8915 GB, free: 41.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7996, allocations: 8 kB / 0.8915 GB, free: 41.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.8002, allocations: 292.7 kB / 0.8918 GB, free: 41.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.8003, allocations: 92.84 kB / 0.8919 GB, free: 41.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.8003, allocations: 4.547 kB / 0.8919 GB, free: 41.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.8004, allocations: 7.516 kB / 0.8919 GB, free: 41.42 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.8005, allocations: 12.5 kB / 0.8919 GB, free: 41.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.8005, allocations: 3.422 kB / 0.8919 GB, free: 41.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001062/0.8006, allocations: 125.8 kB / 0.892 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8006, allocations: 0 / 0.892 GB, free: 41.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004474/0.8011, allocations: 68.69 kB / 0.8921 GB, free: 41.32 MB / 0.5573 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 (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.001094/0.8022, allocations: 0.9412 MB / 0.893 GB, free: 40.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005937/0.8028, allocations: 220.9 kB / 0.8932 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8028, allocations: 0 / 0.8932 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.8032, allocations: 168.8 kB / 0.8934 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.8034, allocations: 13.55 kB / 0.8934 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.805, allocations: 0.8501 MB / 0.8942 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.8053, allocations: 0.7013 MB / 0.8949 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.002e-05/0.8054, allocations: 20.59 kB / 0.8949 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.8054, allocations: 26.55 kB / 0.895 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/0.8054, allocations: 6.719 kB / 0.895 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.8225, allocations: 3.573 MB / 0.8985 GB, free: 38.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.8227, allocations: 240.8 kB / 0.8987 GB, free: 38.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.523, allocations: 0.8438 kB / 0.8987 GB, free: 38.61 MB / 0.5573 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)