Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 106.4 kB / 16.4 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 192.5 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6669/0.6669, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 69.91 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1259, allocations: 76.18 MB / 0.6321 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002823/0.1287, allocations: 2.014 MB / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008251/0.1296, allocations: 0.5727 MB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.1297, allocations: 7.938 kB / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1298, allocations: 27.67 kB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.1298, allocations: 31.61 kB / 0.6347 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1301, allocations: 75.91 kB / 0.6347 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1303, allocations: 228 kB / 0.635 GB, free: 1.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1305, allocations: 119.6 kB / 0.6351 GB, free: 1.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1307, allocations: 91.64 kB / 0.6352 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1308, allocations: 99.53 kB / 0.6353 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.1308, allocations: 24 kB / 0.6353 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.916e-05/0.1309, allocations: 28 kB / 0.6353 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.131, allocations: 59.77 kB / 0.6354 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.1311, allocations: 111.4 kB / 0.6355 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1313, allocations: 279 kB / 0.6357 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1313, allocations: 0 / 0.6357 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1313, allocations: 3.938 kB / 0.6357 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1314, allocations: 4 kB / 0.6357 GB, free: 0.6523 MB / 478.1 MB 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.0006829/0.132, allocations: 0.5181 MB / 0.6363 GB, free: 88 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.1321, allocations: 8.031 kB / 0.6363 GB, free: 80 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.1321, allocations: 24.66 kB / 0.6363 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1324, allocations: 248.7 kB / 0.6365 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1325, allocations: 20.38 kB / 0.6365 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1325, allocations: 16.38 kB / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.1329, allocations: 228.9 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1329, allocations: 0 / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1329, allocations: 11.94 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1329, allocations: 4 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.1332, allocations: 143.9 kB / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.134, allocations: 0.5893 MB / 0.6375 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.1343, allocations: 118.7 kB / 0.6376 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1345, allocations: 48.84 kB / 0.6377 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1345, allocations: 3.984 kB / 0.6377 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1345, allocations: 34.56 kB / 0.6377 GB, free: 14.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.1345, allocations: 0 / 0.6377 GB, free: 14.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004067/0.135, allocations: 169.6 kB / 0.6379 GB, free: 14.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.135, allocations: 132.5 kB / 0.638 GB, free: 14.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1352, allocations: 215 kB / 0.6382 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1353, allocations: 33.7 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.1354, allocations: 148.1 kB / 0.6384 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1354, allocations: 24.03 kB / 0.6384 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.1354, allocations: 41.69 kB / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1356, allocations: 330.8 kB / 0.6387 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1357, allocations: 51.91 kB / 0.6388 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1358, allocations: 90.77 kB / 0.6389 GB, free: 13.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.136, allocations: 89.69 kB / 0.639 GB, free: 13.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.136, allocations: 0 / 0.639 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000277/0.1363, allocations: 161.3 kB / 0.6391 GB, free: 12.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1364, allocations: 4 kB / 0.6391 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1364, allocations: 0 / 0.6391 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1364, allocations: 0 / 0.6391 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1365, allocations: 23.92 kB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1365, allocations: 3.938 kB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1366, allocations: 35.84 kB / 0.6392 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1367, allocations: 8 kB / 0.6392 GB, free: 12.85 MB / 494.1 MB 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 0.0001075/0.1368, allocations: 135.3 kB / 0.6393 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1368, allocations: 19.81 kB / 0.6393 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.1372, allocations: 151 kB / 0.6395 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1372, allocations: 7.938 kB / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1372, allocations: 0 / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1372, allocations: 0 / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.1374, allocations: 269.5 kB / 0.6397 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1375, allocations: 0 / 0.6397 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.1376, allocations: 15.98 kB / 0.6398 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1376, allocations: 0 / 0.6398 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1376, allocations: 4 kB / 0.6398 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1376, allocations: 7.922 kB / 0.6398 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1376, allocations: 4 kB / 0.6398 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.1379, allocations: 223.3 kB / 0.64 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1379, allocations: 96.91 kB / 0.6401 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.138, allocations: 8 kB / 0.6401 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1381, allocations: 19.92 kB / 0.6401 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.1382, allocations: 28.08 kB / 0.6401 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1382, allocations: 4 kB / 0.6401 GB, free: 11.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1384, allocations: 156.5 kB / 0.6403 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1384, allocations: 0 / 0.6403 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1386, allocations: 35.84 kB / 0.6403 GB, free: 11.59 MB / 494.1 MB 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.000133/0.1388, allocations: 115.2 kB / 0.6404 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.139, allocations: 111.9 kB / 0.6405 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1391, allocations: 4.062 kB / 0.6405 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1392, allocations: 55.91 kB / 0.6406 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1395, allocations: 19.98 kB / 0.6406 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.14, allocations: 324.4 kB / 0.6409 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1403, allocations: 0.7321 MB / 0.6416 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.192e-05/0.1404, allocations: 13.42 kB / 0.6417 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1405, allocations: 27.42 kB / 0.6417 GB, free: 10.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1405, allocations: 0 / 0.6417 GB, free: 10.14 MB / 494.1 MB Notification: Performance of Templates: time 0.004432/0.1449, allocations: 2.18 MB / 0.6438 GB, free: 7.988 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)