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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.158/2.158, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 195.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 107.7 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 53.28 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2367, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002912/0.2396, allocations: 2.079 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.2406, allocations: 0.5533 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2408, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.2409, allocations: 15.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.465e-05/0.241, allocations: 31.72 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2413, allocations: 67.94 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.2416, allocations: 216 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.2418, allocations: 107.6 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.2419, allocations: 79.64 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2421, allocations: 95.52 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.2421, allocations: 12 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.2422, allocations: 23.94 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.2422, allocations: 43.83 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.2423, allocations: 95.41 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.2426, allocations: 253.2 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2426, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2426, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2426, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 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.0006985/0.2433, allocations: 0.5275 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2434, allocations: 15.98 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.2434, allocations: 24.66 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.2437, allocations: 252.6 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.2437, allocations: 12.38 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.2438, allocations: 16.38 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.2441, allocations: 233 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2441, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.2442, allocations: 8 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.2442, allocations: 4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.2444, allocations: 135.9 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007749/0.2452, allocations: 0.5935 MB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2456, allocations: 114.7 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.2457, allocations: 48.84 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.2457, allocations: 11.98 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2458, allocations: 34.56 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2458, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0004079/0.2462, allocations: 161.9 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2462, allocations: 136.5 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2464, allocations: 231.6 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2464, allocations: 29.7 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.2465, allocations: 148.2 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2465, allocations: 27.56 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.2466, allocations: 41.69 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.2466, allocations: 326.8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2468, allocations: 43.98 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2469, allocations: 96.19 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.2471, allocations: 85.69 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2471, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000266/0.2474, allocations: 157.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2474, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2474, allocations: 8.031 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2474, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2475, allocations: 23.86 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2475, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.2477, allocations: 35.81 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2477, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 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 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.2478, allocations: 131.4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.2478, allocations: 19.86 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.2481, allocations: 150.9 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2482, allocations: 3.938 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2482, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2482, allocations: 4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.2484, allocations: 265.5 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2484, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.2485, allocations: 23.92 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2485, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2485, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2485, allocations: 7.922 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2485, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.249, allocations: 0.8447 MB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.249, allocations: 104.8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.2491, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2492, allocations: 19.98 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.2493, allocations: 23.95 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2493, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001054/0.2494, allocations: 148.6 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.82e-07/0.2494, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003553/0.2498, allocations: 47.77 kB / 1.227 GB, free: 107.9 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.2499, allocations: 115.2 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.2502, allocations: 111.3 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2502, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.2503, allocations: 51.91 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.2507, allocations: 28 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.2512, allocations: 0.5017 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2513, allocations: 0.7361 MB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.711e-05/0.2514, allocations: 17.42 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.2515, allocations: 19.42 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.2515, allocations: 4 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of Templates: time 0.004063/0.2556, allocations: 1.99 MB / 1.23 GB, free: 104.3 MB / 0.823 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)