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/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_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/BuildingSystems 2.0.0-master/package.mo): time 0.7315/0.7315, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001037, allocations: 186.8 kB / 187.3 MB, free: 11.88 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.268/1.268, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009509/0.0009509, allocations: 100.6 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 276.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.464e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3714, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.481, allocations: 110.4 MB / 0.8721 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.4812, allocations: 71.95 kB / 0.8722 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008672/0.4899, allocations: 3.125 MB / 0.8752 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/0.49, allocations: 0 / 0.8752 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.49, allocations: 4 kB / 0.8753 GB, free: 10.98 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.0005514/0.4905, allocations: 434.5 kB / 0.8757 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4906, allocations: 11.97 kB / 0.8757 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.4906, allocations: 46.55 kB / 0.8757 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.4907, allocations: 19.81 kB / 0.8757 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4908, allocations: 178.9 kB / 0.8759 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.4909, allocations: 67.39 kB / 0.876 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.491, allocations: 8 kB / 0.876 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.4912, allocations: 109.6 kB / 0.8761 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4912, allocations: 0 / 0.8761 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4912, allocations: 8 kB / 0.8761 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4912, allocations: 3.984 kB / 0.8761 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.4914, allocations: 99.98 kB / 0.8762 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.4921, allocations: 460.1 kB / 0.8766 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.4922, allocations: 70.5 kB / 0.8767 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.4923, allocations: 45.05 kB / 0.8767 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/0.4928, allocations: 315.2 kB / 0.877 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.4928, allocations: 34.56 kB / 0.8771 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.4928, allocations: 0 / 0.8771 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.000576/0.4934, allocations: 174.3 kB / 0.8772 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4934, allocations: 59.33 kB / 0.8773 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4936, allocations: 159 kB / 0.8774 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.4936, allocations: 25.7 kB / 0.8775 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.4937, allocations: 119.9 kB / 0.8776 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.4937, allocations: 31.55 kB / 0.8776 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.4937, allocations: 0 / 0.8776 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4938, allocations: 326.8 kB / 0.8779 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.4939, allocations: 32 kB / 0.878 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.4939, allocations: 32 kB / 0.878 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.494, allocations: 46.3 kB / 0.878 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.494, allocations: 0 / 0.878 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000483/0.4945, allocations: 194.3 kB / 0.8782 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4945, allocations: 4 kB / 0.8782 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4946, allocations: 4 kB / 0.8782 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004406/0.495, allocations: 72.73 kB / 0.8783 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4951, allocations: 23.98 kB / 0.8783 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.497, allocations: 1.535 MB / 0.8798 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.4971, allocations: 27.86 kB / 0.8798 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4971, allocations: 0 / 0.8798 GB, free: 5.844 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 (10): * Single equations (assignments): 9 * 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.065e-05/0.4972, allocations: 112.9 kB / 0.88 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.4972, allocations: 11.81 kB / 0.88 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.4978, allocations: 191.9 kB / 0.8801 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4978, allocations: 3.938 kB / 0.8802 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4978, allocations: 3.953 kB / 0.8802 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4978, allocations: 0 / 0.8802 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/0.4985, allocations: 472 kB / 0.8806 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4985, allocations: 4 kB / 0.8806 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.4986, allocations: 20.02 kB / 0.8806 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/0.499, allocations: 64.8 kB / 0.8807 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.499, allocations: 8 kB / 0.8807 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.5005, allocations: 1.534 MB / 0.8822 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5005, allocations: 0 / 0.8822 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.501, allocations: 298.6 kB / 0.8825 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.5011, allocations: 88.92 kB / 0.8826 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5011, allocations: 8 kB / 0.8826 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5012, allocations: 15.98 kB / 0.8826 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.5013, allocations: 7.984 kB / 0.8826 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.5013, allocations: 7.984 kB / 0.8826 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.629e-05/0.5014, allocations: 123.3 kB / 0.8827 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5014, allocations: 0 / 0.8827 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003487/0.5018, allocations: 55.94 kB / 0.8828 GB, free: 2.586 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 (6): * Single equations (assignments): 5 * 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.0008113/0.5026, allocations: 0.9312 MB / 0.8837 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.5031, allocations: 218.7 kB / 0.8839 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5031, allocations: 0 / 0.8839 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.5034, allocations: 182.6 kB / 0.8841 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.5036, allocations: 12.56 kB / 0.8841 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.504, allocations: 217.8 kB / 0.8843 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.5043, allocations: 0.7126 MB / 0.885 GB, free: 204 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.5043, allocations: 12.55 kB / 0.885 GB, free: 192 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.5044, allocations: 35.42 kB / 0.885 GB, free: 156 kB / 0.5417 GB Notification: Performance of SimCode: time 1.373e-06/0.5044, allocations: 0 / 0.885 GB, free: 156 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.5192, allocations: 3.636 MB / 0.8886 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.5194, allocations: 228.4 kB / 0.8888 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.177, allocations: 0 / 0.8888 GB, free: 12.55 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 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)