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.404/1.404, allocations: 251.9 MB / 266.9 MB, free: 11 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.001203/0.001203, allocations: 180.8 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.00102/0.00102, allocations: 86.42 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 10.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2867, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.4749, allocations: 134.7 MB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.4752, allocations: 95.92 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009033/0.4842, allocations: 3.326 MB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.255e-06/0.4843, allocations: 0 / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.4843, allocations: 4 kB / 1.035 GB, free: 5.426 MB / 0.6823 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.000707/0.485, allocations: 498.5 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4851, allocations: 16.02 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/0.4851, allocations: 50.55 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.4852, allocations: 31.67 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.4855, allocations: 231.6 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.4855, allocations: 12 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.4856, allocations: 19.94 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.486, allocations: 232.5 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.486, allocations: 0 / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.4861, allocations: 8 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4861, allocations: 8 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.4864, allocations: 139.9 kB / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.4873, allocations: 0.6206 MB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.4877, allocations: 130.7 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.4878, allocations: 12.11 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4878, allocations: 34.56 kB / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.4878, allocations: 0 / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004684/0.4883, allocations: 189.4 kB / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.4884, allocations: 132.5 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.4886, allocations: 194.2 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4886, allocations: 29.7 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.4887, allocations: 140.2 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.4888, allocations: 27.64 kB / 1.038 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.4888, allocations: 4 kB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4889, allocations: 326.8 kB / 1.038 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.489, allocations: 51.97 kB / 1.038 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4892, allocations: 86.66 kB / 1.038 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.4893, allocations: 50.05 kB / 1.038 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4893, allocations: 0 / 1.038 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003312/0.4897, allocations: 161.3 kB / 1.038 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4897, allocations: 15.95 kB / 1.038 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4897, allocations: 0 / 1.038 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4897, allocations: 0 / 1.038 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4899, allocations: 15.98 kB / 1.038 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4899, allocations: 0 / 1.038 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.49, allocations: 39.91 kB / 1.038 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.49, allocations: 8 kB / 1.038 GB, free: 1.699 MB / 0.6823 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.0001254/0.4902, allocations: 133.8 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.4902, allocations: 15.81 kB / 1.039 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.4906, allocations: 167.2 kB / 1.039 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4906, allocations: 4 kB / 1.039 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4906, allocations: 3.938 kB / 1.039 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4906, allocations: 0 / 1.039 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.4909, allocations: 281.4 kB / 1.039 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4909, allocations: 0 / 1.039 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.491, allocations: 15.98 kB / 1.039 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4911, allocations: 0 / 1.039 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4911, allocations: 4 kB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4911, allocations: 3.953 kB / 1.039 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4911, allocations: 4 kB / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.4914, allocations: 235.2 kB / 1.039 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.4915, allocations: 92.92 kB / 1.039 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.4915, allocations: 8 kB / 1.039 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4917, allocations: 39.97 kB / 1.039 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.4918, allocations: 23.91 kB / 1.039 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.4918, allocations: 11.98 kB / 1.039 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000131/0.4919, allocations: 144.7 kB / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4919, allocations: 0 / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000251/0.4922, allocations: 36 kB / 1.04 GB, free: 416 kB / 0.6823 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.0007139/0.4929, allocations: 0.7828 MB / 1.04 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.4932, allocations: 115.9 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4932, allocations: 4 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.4934, allocations: 63.91 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.4936, allocations: 21.92 kB / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.4953, allocations: 1.085 MB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4957, allocations: 0.74 MB / 1.042 GB, free: 13.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.993e-05/0.4958, allocations: 17.42 kB / 1.042 GB, free: 13.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4959, allocations: 63.41 kB / 1.042 GB, free: 13.41 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.4959, allocations: 0 / 1.042 GB, free: 13.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.5107, allocations: 3.766 MB / 1.046 GB, free: 9.867 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.5109, allocations: 227.5 kB / 1.046 GB, free: 9.629 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.388, allocations: 0 / 1.046 GB, free: 9.629 MB / 0.698 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)