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.0008869/0.0008869, allocations: 96.73 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008959/0.000896, allocations: 175.6 kB / 16.57 MB, free: 6.398 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.305/1.305, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6634/0.6634, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 12 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002087/0.1296, allocations: 1.662 MB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.1305, allocations: 0.5264 MB / 0.559 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.1306, allocations: 0 / 0.559 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1307, allocations: 15.86 kB / 0.559 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.1308, allocations: 35.88 kB / 0.559 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1311, allocations: 51.88 kB / 0.5591 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1313, allocations: 132.3 kB / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.1315, allocations: 77.86 kB / 0.5593 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1316, allocations: 63.7 kB / 0.5593 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1317, allocations: 75.55 kB / 0.5594 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1318, allocations: 8 kB / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.1318, allocations: 19.86 kB / 0.5594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.1319, allocations: 27.86 kB / 0.5595 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.132, allocations: 53.64 kB / 0.5595 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1322, allocations: 199.8 kB / 0.5597 GB, free: 8.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1322, allocations: 4 kB / 0.5597 GB, free: 8.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.838e-06/0.1322, allocations: 4 kB / 0.5597 GB, free: 8.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1322, allocations: 0 / 0.5597 GB, free: 8.629 MB / 430.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.0006738/0.1329, allocations: 500 kB / 0.5602 GB, free: 8.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1329, allocations: 12.02 kB / 0.5602 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.133, allocations: 23.72 kB / 0.5602 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1333, allocations: 255.3 kB / 0.5605 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1333, allocations: 15.98 kB / 0.5605 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.1333, allocations: 23.95 kB / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.1337, allocations: 225.5 kB / 0.5607 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1337, allocations: 0 / 0.5607 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1338, allocations: 4 kB / 0.5607 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1338, allocations: 4 kB / 0.5607 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.1341, allocations: 159.6 kB / 0.5609 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.135, allocations: 0.6013 MB / 0.5615 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.1354, allocations: 130.7 kB / 0.5616 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.1354, allocations: 0 / 0.5616 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1355, allocations: 34.55 kB / 0.5616 GB, free: 6.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.1355, allocations: 0 / 0.5616 GB, free: 6.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004463/0.1359, allocations: 181.6 kB / 0.5618 GB, free: 6.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.136, allocations: 132.5 kB / 0.5619 GB, free: 6.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1362, allocations: 210.9 kB / 0.5621 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1362, allocations: 37.69 kB / 0.5622 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.1363, allocations: 144.2 kB / 0.5623 GB, free: 5.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1363, allocations: 31.55 kB / 0.5623 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.1364, allocations: 7.938 kB / 0.5623 GB, free: 5.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.1365, allocations: 331.1 kB / 0.5627 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1366, allocations: 47.98 kB / 0.5627 GB, free: 5.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1367, allocations: 92.2 kB / 0.5628 GB, free: 5.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1368, allocations: 47.48 kB / 0.5628 GB, free: 5.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1369, allocations: 7.938 kB / 0.5628 GB, free: 5.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002961/0.1372, allocations: 165.4 kB / 0.563 GB, free: 5.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1372, allocations: 8 kB / 0.563 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1372, allocations: 0 / 0.563 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1372, allocations: 0 / 0.563 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1373, allocations: 19.98 kB / 0.563 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1374, allocations: 0 / 0.563 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1375, allocations: 31.92 kB / 0.5631 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.1375, allocations: 11.98 kB / 0.5631 GB, free: 4.934 MB / 430.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 ($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 (14): * Single equations (assignments): 14 * 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.0001203/0.1377, allocations: 139.5 kB / 0.5632 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.1377, allocations: 19.81 kB / 0.5632 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.1381, allocations: 155 kB / 0.5634 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1381, allocations: 4 kB / 0.5634 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1381, allocations: 3.938 kB / 0.5634 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1381, allocations: 0 / 0.5634 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1384, allocations: 277.4 kB / 0.5636 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1384, allocations: 0 / 0.5636 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.1385, allocations: 19.98 kB / 0.5637 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1385, allocations: 48 / 0.5637 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1385, allocations: 7.984 kB / 0.5637 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1385, allocations: 0 / 0.5637 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1385, allocations: 0 / 0.5637 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.1388, allocations: 243.2 kB / 0.5639 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.1389, allocations: 92.92 kB / 0.564 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1389, allocations: 4 kB / 0.564 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1391, allocations: 27.97 kB / 0.564 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.1392, allocations: 23.95 kB / 0.564 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1392, allocations: 11.98 kB / 0.5641 GB, free: 3.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1393, allocations: 156.9 kB / 0.5642 GB, free: 3.672 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1393, allocations: 0 / 0.5642 GB, free: 3.672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1396, allocations: 43.78 kB / 0.5642 GB, free: 3.629 MB / 430.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 (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.0001327/0.1397, allocations: 107.2 kB / 0.5643 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.14, allocations: 116 kB / 0.5645 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.14, allocations: 3.938 kB / 0.5645 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1402, allocations: 55.97 kB / 0.5645 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1404, allocations: 15.95 kB / 0.5645 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.141, allocations: 388.4 kB / 0.5649 GB, free: 2.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1412, allocations: 0.7361 MB / 0.5656 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.1413, allocations: 17.42 kB / 0.5656 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.1414, allocations: 23.42 kB / 0.5657 GB, free: 2.125 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1414, allocations: 0 / 0.5657 GB, free: 2.125 MB / 430.1 MB Notification: Performance of Templates: time 0.004229/0.1456, allocations: 1.813 MB / 0.5674 GB, free: 360 kB / 430.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)