Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 179.5 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 86.48 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.474e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1966, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.666/0.8626, allocations: 135 MB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.8629, allocations: 91.38 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008928/0.8719, allocations: 3.268 MB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8719, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.8719, allocations: 8 kB / 1.02 GB, free: 15.55 MB / 0.6511 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.0006099/0.8725, allocations: 489.6 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.8726, allocations: 12.03 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.8727, allocations: 27.67 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.8729, allocations: 233 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.8729, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.873, allocations: 12 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002162/0.8732, allocations: 109.5 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.8735, allocations: 180.1 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.8735, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.8735, allocations: 7.938 kB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.8735, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.8744, allocations: 0.5563 MB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.8747, allocations: 104 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.8748, allocations: 39.55 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.8748, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.8748, allocations: 49.69 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.8748, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.00026/0.8751, allocations: 102.3 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.8752, allocations: 136.5 kB / 1.022 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.8753, allocations: 152.8 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.8754, allocations: 33.08 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.8755, allocations: 150.8 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.8755, allocations: 31.23 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.8755, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8756, allocations: 329.7 kB / 1.023 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.8757, allocations: 31.19 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.8758, allocations: 67.67 kB / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.8759, allocations: 29.19 kB / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8759, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001933/0.8761, allocations: 126.5 kB / 1.023 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.8761, allocations: 4 kB / 1.023 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8761, allocations: 4.094 kB / 1.023 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8761, allocations: 7.891 kB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.8763, allocations: 23.61 kB / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8763, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.8764, allocations: 35.97 kB / 1.023 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.8764, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.6511 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 () * 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 9.172e-05/0.8765, allocations: 111.1 kB / 1.023 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001764/0.8767, allocations: 107.3 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.8768, allocations: 15.86 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.877, allocations: 124.8 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.877, allocations: 0 / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.877, allocations: 0 / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.877, allocations: 12 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.8773, allocations: 235 kB / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8773, allocations: 0 / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.8774, allocations: 23.55 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8774, allocations: 0 / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.8774, allocations: 3.984 kB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8774, allocations: 3.953 kB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8774, allocations: 4 kB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.8777, allocations: 201.1 kB / 1.024 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.8777, allocations: 96.47 kB / 1.024 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.8778, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.8779, allocations: 32.25 kB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.878, allocations: 31.59 kB / 1.024 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.8781, allocations: 11.98 kB / 1.024 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.777e-05/0.8782, allocations: 134.5 kB / 1.024 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8782, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002582/0.8785, allocations: 31.84 kB / 1.025 GB, free: 11.56 MB / 0.6511 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) * 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.0005072/0.879, allocations: 0.7486 MB / 1.025 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.8792, allocations: 84 kB / 1.025 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8792, allocations: 4 kB / 1.025 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.8792, allocations: 42.23 kB / 1.025 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.8795, allocations: 19.45 kB / 1.025 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.88, allocations: 237 kB / 1.026 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.8803, allocations: 0.7396 MB / 1.026 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.943e-05/0.8804, allocations: 13.2 kB / 1.026 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.8805, allocations: 63.7 kB / 1.026 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.8805, allocations: 4 kB / 1.026 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.902, allocations: 3.066 MB / 1.029 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.9023, allocations: 188.6 kB / 1.03 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.575, allocations: 0 / 1.03 GB, free: 6.457 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)