Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.671/1.671, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.3 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008042/0.0008046, allocations: 89.38 kB / 0.7808 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004565, allocations: 15.98 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7034, allocations: 120.3 MB / 1.026 GB, free: 55.98 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.8915, allocations: 144.2 MB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.8918, allocations: 94.73 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01009/0.9019, allocations: 3.359 MB / 1.171 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.396e-06/0.9019, allocations: 4.562 kB / 1.171 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.9019, allocations: 4.938 kB / 1.171 GB, free: 13.43 MB / 0.7448 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.0008645/0.9028, allocations: 497.8 kB / 1.171 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.9029, allocations: 8.031 kB / 1.171 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.903, allocations: 33.36 kB / 1.171 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.9033, allocations: 233 kB / 1.171 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.9033, allocations: 13.03 kB / 1.171 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.9034, allocations: 21.62 kB / 1.171 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.9038, allocations: 225.6 kB / 1.171 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9039, allocations: 4.625 kB / 1.172 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.9039, allocations: 7.938 kB / 1.172 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.9039, allocations: 5.375 kB / 1.172 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.9043, allocations: 145.8 kB / 1.172 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.9054, allocations: 0.6178 MB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.9058, allocations: 132.2 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.9059, allocations: 55 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.906, allocations: 4.75 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.906, allocations: 31.36 kB / 1.172 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.906, allocations: 0 / 1.172 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004788/0.9065, allocations: 193.2 kB / 1.173 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.9066, allocations: 129.2 kB / 1.173 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.9068, allocations: 222 kB / 1.173 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.9069, allocations: 30.5 kB / 1.173 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.907, allocations: 139.6 kB / 1.173 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.907, allocations: 34.38 kB / 1.173 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.907, allocations: 8 kB / 1.173 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9072, allocations: 328.8 kB / 1.174 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.9073, allocations: 45.77 kB / 1.174 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.9075, allocations: 88.67 kB / 1.174 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.9077, allocations: 90.36 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9077, allocations: 0 / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003364/0.9081, allocations: 163.4 kB / 1.174 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9081, allocations: 8.938 kB / 1.174 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.9081, allocations: 0.7031 kB / 1.174 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9081, allocations: 0 / 1.174 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.9082, allocations: 15.42 kB / 1.174 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.9082, allocations: 8.594 kB / 1.174 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.9084, allocations: 41.36 kB / 1.174 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.9084, allocations: 6.016 kB / 1.174 GB, free: 9.996 MB / 0.7448 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.0001401/0.9086, allocations: 139.2 kB / 1.174 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.9086, allocations: 19.81 kB / 1.174 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.909, allocations: 155.8 kB / 1.174 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.909, allocations: 0 / 1.174 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.909, allocations: 4.875 kB / 1.174 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.909, allocations: 4.641 kB / 1.174 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.9094, allocations: 271.6 kB / 1.175 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9094, allocations: 0.875 kB / 1.175 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.9095, allocations: 19.42 kB / 1.175 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9095, allocations: 0.7031 kB / 1.175 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.9095, allocations: 9.266 kB / 1.175 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9095, allocations: 0 / 1.175 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.9095, allocations: 4.812 kB / 1.175 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.9099, allocations: 235.4 kB / 1.175 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.91, allocations: 96.16 kB / 1.175 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.91, allocations: 8 kB / 1.175 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.9102, allocations: 35.64 kB / 1.175 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.9103, allocations: 24.27 kB / 1.175 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.9103, allocations: 5.406 kB / 1.175 GB, free: 9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000161/0.9105, allocations: 157.7 kB / 1.175 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9105, allocations: 0 / 1.175 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002696/0.9108, allocations: 35.91 kB / 1.175 GB, free: 8.824 MB / 0.7448 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.0001711/0.9109, allocations: 120.2 kB / 1.175 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.9113, allocations: 117.2 kB / 1.175 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9113, allocations: 4 kB / 1.175 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.9114, allocations: 58.27 kB / 1.175 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.9117, allocations: 20.59 kB / 1.175 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.9124, allocations: 386.2 kB / 1.176 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.9128, allocations: 0.7308 MB / 1.177 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.9129, allocations: 21.23 kB / 1.177 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.9129, allocations: 17.73 kB / 1.177 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.913, allocations: 4 kB / 1.177 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of Templates: time 0.00511/0.9181, allocations: 1.883 MB / 1.178 GB, free: 5.816 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)