Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.625/2.625, allocations: 287.3 MB / 302.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001707/0.001707, allocations: 183.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 97.97 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.000533, allocations: 12.92 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2392, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9936/1.233, allocations: 140.9 MB / 1.116 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003876/1.233, allocations: 88.98 kB / 1.116 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01424/1.248, allocations: 3.305 MB / 1.119 GB, free: 30.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/1.248, allocations: 0 / 1.119 GB, free: 30.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.622e-05/1.248, allocations: 3.812 kB / 1.119 GB, free: 30.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001022/1.249, allocations: 0.5028 MB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.249, allocations: 7.688 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.771e-05/1.249, allocations: 57.61 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/1.249, allocations: 27.3 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/1.249, allocations: 228.5 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.249, allocations: 11.19 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/1.249, allocations: 18.88 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/1.25, allocations: 228.3 kB / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.25, allocations: 0 / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/1.25, allocations: 7.547 kB / 1.12 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.25, allocations: 7.688 kB / 1.12 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/1.251, allocations: 146.1 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/1.252, allocations: 0.6194 MB / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/1.253, allocations: 133.5 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/1.253, allocations: 0 / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.253, allocations: 34.56 kB / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/1.253, allocations: 6.094 kB / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007287/1.253, allocations: 183.8 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/1.254, allocations: 139.3 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/1.254, allocations: 192.1 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/1.254, allocations: 35.59 kB / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.254, allocations: 138.7 kB / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/1.254, allocations: 33.23 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/1.254, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.254, allocations: 329.4 kB / 1.122 GB, free: 28.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/1.254, allocations: 55.72 kB / 1.122 GB, free: 28.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/1.255, allocations: 83.36 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/1.255, allocations: 47.61 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.255, allocations: 4 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005282/1.255, allocations: 150.8 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.255, allocations: 11.64 kB / 1.123 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.255, allocations: 0 / 1.123 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.256, allocations: 0 / 1.123 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/1.256, allocations: 21.38 kB / 1.123 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/1.256, allocations: 7.844 kB / 1.123 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/1.256, allocations: 32.48 kB / 1.123 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/1.256, allocations: 14.5 kB / 1.123 GB, free: 28.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002171/1.256, allocations: 142.3 kB / 1.123 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/1.256, allocations: 19.41 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/1.257, allocations: 160.9 kB / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.257, allocations: 0 / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.257, allocations: 0 / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.257, allocations: 0 / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/1.257, allocations: 278.8 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.257, allocations: 5.969 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.258, allocations: 14.2 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/1.258, allocations: 0 / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/1.258, allocations: 14.67 kB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.258, allocations: 3.953 kB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.258, allocations: 0 / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/1.258, allocations: 237.7 kB / 1.123 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/1.258, allocations: 92.77 kB / 1.124 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/1.258, allocations: 10.12 kB / 1.124 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/1.259, allocations: 35.23 kB / 1.124 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.259, allocations: 31.66 kB / 1.124 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/1.259, allocations: 5.938 kB / 1.124 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001777/1.259, allocations: 150.9 kB / 1.124 GB, free: 28.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.259, allocations: 0 / 1.124 GB, free: 28.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003934/1.259, allocations: 34.28 kB / 1.124 GB, free: 28.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009214/1.26, allocations: 0.7803 MB / 1.125 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004838/1.261, allocations: 124.7 kB / 1.125 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.261, allocations: 0 / 1.125 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/1.261, allocations: 61.56 kB / 1.125 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/1.261, allocations: 18.05 kB / 1.125 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/1.264, allocations: 1.085 MB / 1.126 GB, free: 26.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/1.264, allocations: 0.7366 MB / 1.127 GB, free: 26.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001562/1.264, allocations: 18.91 kB / 1.127 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/1.265, allocations: 62.55 kB / 1.127 GB, free: 26.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/1.265, allocations: 0 / 1.127 GB, free: 26.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/1.289, allocations: 3.768 MB / 1.13 GB, free: 26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003037/1.289, allocations: 210.9 kB / 1.13 GB, free: 25.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.904, allocations: 2.5 kB / 1.13 GB, free: 25.77 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)