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.499/1.499, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 189.4 kB / 326.6 MB, free: 2.207 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.804/1.804, allocations: 205.4 MB / 0.5776 GB, free: 20.55 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.0007566/0.0007566, allocations: 82.12 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 12.16 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2576, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002485/0.2602, allocations: 1.693 MB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.2611, allocations: 0.5735 MB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.2613, allocations: 4 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.889e-05/0.2614, allocations: 15.86 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.2614, allocations: 27.72 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.2617, allocations: 51.94 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2619, allocations: 200 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.2621, allocations: 94.03 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2622, allocations: 55.72 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2623, allocations: 71.61 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.2624, allocations: 11.94 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.2625, allocations: 19.98 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.2625, allocations: 27.86 kB / 0.9031 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.462e-05/0.2625, allocations: 49.64 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2627, allocations: 199.8 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2628, allocations: 3.938 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2628, allocations: 7.938 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2628, allocations: 3.938 kB / 0.9033 GB, free: 61.06 MB / 0.6042 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.0006764/0.2635, allocations: 494.6 kB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2635, allocations: 8.031 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.2636, allocations: 50.55 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.2636, allocations: 27.67 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.2639, allocations: 263.4 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.264, allocations: 8 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.264, allocations: 20 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.2644, allocations: 232.5 kB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2644, allocations: 0 / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.2644, allocations: 4 kB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2644, allocations: 4 kB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.2647, allocations: 151.7 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.2655, allocations: 0.5975 MB / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.2659, allocations: 134.7 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.266, allocations: 52.81 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.2661, allocations: 8 kB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.2661, allocations: 30.56 kB / 0.9053 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2661, allocations: 0 / 0.9053 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004442/0.2665, allocations: 185.6 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2666, allocations: 128.5 kB / 0.9056 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.2667, allocations: 211 kB / 0.9058 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2668, allocations: 25.7 kB / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.2668, allocations: 152.1 kB / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2669, allocations: 35.56 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.2669, allocations: 4 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.267, allocations: 326.8 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2671, allocations: 47.97 kB / 0.9064 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2672, allocations: 92.27 kB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2673, allocations: 44.36 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2673, allocations: 3.938 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002819/0.2676, allocations: 169.4 kB / 0.9067 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2677, allocations: 8 kB / 0.9067 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2677, allocations: 7.922 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2677, allocations: 0 / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2678, allocations: 19.98 kB / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2678, allocations: 0 / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.268, allocations: 39.84 kB / 0.9068 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.268, allocations: 4 kB / 0.9068 GB, free: 57.26 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001184/0.2681, allocations: 137.8 kB / 0.9069 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2682, allocations: 19.77 kB / 0.9069 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.2685, allocations: 162.9 kB / 0.9071 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2685, allocations: 8 kB / 0.9071 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2685, allocations: 0 / 0.9071 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2685, allocations: 0 / 0.9071 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2688, allocations: 265.5 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2688, allocations: 0 / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.2689, allocations: 15.98 kB / 0.9074 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2689, allocations: 4 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2689, allocations: 7.938 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2689, allocations: 4 kB / 0.9074 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2689, allocations: 0 / 0.9074 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.2692, allocations: 239.2 kB / 0.9076 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.2693, allocations: 92.86 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2693, allocations: 8 kB / 0.9077 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.2695, allocations: 31.92 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.2696, allocations: 23.95 kB / 0.9078 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.2696, allocations: 0 / 0.9078 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001083/0.2697, allocations: 157 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2697, allocations: 0 / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002656/0.27, allocations: 39.84 kB / 0.9079 GB, free: 55.97 MB / 0.6042 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.0005436/0.2705, allocations: 0.7865 MB / 0.9087 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.2708, allocations: 121.2 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2708, allocations: 0 / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.271, allocations: 52.05 kB / 0.9089 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2713, allocations: 29.97 kB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.273, allocations: 1.077 MB / 0.91 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2733, allocations: 0.7358 MB / 0.9107 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.2734, allocations: 21.45 kB / 0.9107 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2735, allocations: 63.41 kB / 0.9108 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.182e-06/0.2735, allocations: 0 / 0.9108 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.2899, allocations: 3.723 MB / 0.9144 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.2902, allocations: 232.2 kB / 0.9146 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.056, allocations: 6.75 kB / 0.9146 GB, free: 49.25 MB / 0.6042 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)