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.49/1.49, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001609/0.001609, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008467/0.0008469, allocations: 84.64 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.181e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2378, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8478/1.086, allocations: 134.7 MB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.086, allocations: 89 kB / 1.024 GB, free: 40 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009656/1.096, allocations: 3.294 MB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.266e-06/1.096, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.096, allocations: 4 kB / 1.027 GB, free: 13.2 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.00082/1.097, allocations: 487.9 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/1.097, allocations: 8.031 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.451e-05/1.097, allocations: 52.36 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/1.097, allocations: 31.67 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/1.097, allocations: 226.3 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/1.097, allocations: 14.75 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/1.097, allocations: 15.44 kB / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/1.098, allocations: 220.5 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.098, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/1.098, allocations: 7.625 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.098, allocations: 8 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/1.098, allocations: 117.7 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/1.099, allocations: 0.6202 MB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/1.1, allocations: 121.5 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/1.1, allocations: 37.98 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/1.1, allocations: 3.75 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/1.1, allocations: 38.5 kB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/1.1, allocations: 4 kB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003736/1.101, allocations: 109.7 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.101, allocations: 136.5 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/1.101, allocations: 189.3 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/1.101, allocations: 36.62 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/1.101, allocations: 136 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/1.101, allocations: 35.03 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/1.101, allocations: 11.44 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002599/1.102, allocations: 329.1 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/1.102, allocations: 36.25 kB / 1.03 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/1.102, allocations: 63 kB / 1.03 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.285e-05/1.102, allocations: 29.92 kB / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.102, allocations: 4 kB / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002735/1.102, allocations: 140.3 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.102, allocations: 8 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.102, allocations: 0 / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/1.102, allocations: 0 / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/1.102, allocations: 19.98 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.102, allocations: 0 / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/1.103, allocations: 43.38 kB / 1.03 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/1.103, allocations: 4 kB / 1.03 GB, free: 10.12 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 0.0001285/1.103, allocations: 108.8 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/1.103, allocations: 23.7 kB / 1.03 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/1.103, allocations: 138.5 kB / 1.03 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.103, allocations: 0 / 1.03 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.103, allocations: 4 kB / 1.03 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/1.103, allocations: 0 / 1.03 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/1.104, allocations: 274.3 kB / 1.03 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.104, allocations: 4 kB / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.104, allocations: 15.98 kB / 1.03 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.104, allocations: 0 / 1.03 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/1.104, allocations: 7.266 kB / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.104, allocations: 0 / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.104, allocations: 4 kB / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/1.104, allocations: 219.1 kB / 1.031 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/1.104, allocations: 92.91 kB / 1.031 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/1.104, allocations: 7.375 kB / 1.031 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.105, allocations: 31.92 kB / 1.031 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.105, allocations: 31.45 kB / 1.031 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/1.105, allocations: 4 kB / 1.031 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001797/1.105, allocations: 152.7 kB / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/1.105, allocations: 0 / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002815/1.105, allocations: 35.28 kB / 1.031 GB, free: 9.047 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.0009018/1.106, allocations: 0.7558 MB / 1.032 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002599/1.106, allocations: 93.53 kB / 1.032 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.106, allocations: 7.938 kB / 1.032 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/1.107, allocations: 47.42 kB / 1.032 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/1.107, allocations: 19.14 kB / 1.032 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/1.108, allocations: 257.6 kB / 1.032 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/1.108, allocations: 0.74 MB / 1.033 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.547e-05/1.108, allocations: 17.2 kB / 1.033 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.109, allocations: 61.97 kB / 1.033 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.109, allocations: 0 / 1.033 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/1.126, allocations: 3.741 MB / 1.037 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.126, allocations: 203 kB / 1.037 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/3.14, allocations: 0 / 1.037 GB, free: 3.344 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)