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.001636/0.001636, allocations: 109.8 kB / 16.41 MB, free: 6.027 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.001918/0.001918, allocations: 190.1 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.467/1.467, 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.7242/0.7242, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 66.03 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003658/0.154, allocations: 2.017 MB / 0.6341 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1552, allocations: 0.5766 MB / 0.6346 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1553, allocations: 4 kB / 0.6346 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.1555, allocations: 23.67 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.1556, allocations: 39.59 kB / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.156, allocations: 83.91 kB / 0.6348 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1562, allocations: 228 kB / 0.635 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.1565, allocations: 115.6 kB / 0.6351 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1566, allocations: 91.62 kB / 0.6352 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1568, allocations: 99.55 kB / 0.6353 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.1568, allocations: 28 kB / 0.6353 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.1569, allocations: 31.98 kB / 0.6353 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.157, allocations: 55.78 kB / 0.6354 GB, free: 1.012 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1571, allocations: 103.5 kB / 0.6355 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1575, allocations: 283 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1575, allocations: 3.938 kB / 0.6358 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1575, allocations: 0 / 0.6358 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1576, allocations: 4 kB / 0.6358 GB, free: 0.625 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.0007914/0.1583, allocations: 0.5142 MB / 0.6363 GB, free: 64 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1584, allocations: 12.03 kB / 0.6363 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.1585, allocations: 24.66 kB / 0.6363 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1588, allocations: 252.7 kB / 0.6365 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1588, allocations: 16.38 kB / 0.6365 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1589, allocations: 16.38 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.1593, allocations: 224.9 kB / 0.6368 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1593, allocations: 3.938 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1593, allocations: 8 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1593, allocations: 4 kB / 0.6368 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1597, allocations: 139.9 kB / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.1606, allocations: 0.5932 MB / 0.6375 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.161, allocations: 122.7 kB / 0.6376 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1611, allocations: 48.84 kB / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1612, allocations: 4 kB / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1612, allocations: 30.56 kB / 0.6377 GB, free: 14.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1612, allocations: 0 / 0.6377 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004819/0.1617, allocations: 173.5 kB / 0.6379 GB, free: 14.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.1618, allocations: 140.5 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.162, allocations: 211 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.162, allocations: 29.7 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.1621, allocations: 148.1 kB / 0.6384 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1621, allocations: 27.64 kB / 0.6384 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.1622, allocations: 41.64 kB / 0.6384 GB, free: 13.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1623, allocations: 326.8 kB / 0.6388 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1625, allocations: 51.91 kB / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1626, allocations: 84.27 kB / 0.6389 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1628, allocations: 92.31 kB / 0.639 GB, free: 13.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1628, allocations: 0 / 0.639 GB, free: 13.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003081/0.1632, allocations: 161.3 kB / 0.6391 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1632, allocations: 4 kB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1632, allocations: 7.984 kB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1632, allocations: 0 / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1633, allocations: 19.92 kB / 0.6392 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1633, allocations: 3.938 kB / 0.6392 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1635, allocations: 35.83 kB / 0.6392 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.1635, allocations: 4 kB / 0.6392 GB, free: 12.82 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.000125/0.1637, allocations: 139.4 kB / 0.6393 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.1637, allocations: 15.81 kB / 0.6393 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.164, allocations: 143 kB / 0.6395 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.164, allocations: 3.938 kB / 0.6395 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.1641, allocations: 4 kB / 0.6395 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1641, allocations: 3.984 kB / 0.6395 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.1643, allocations: 261.5 kB / 0.6397 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1644, allocations: 8 kB / 0.6397 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.1645, allocations: 11.98 kB / 0.6398 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1645, allocations: 0 / 0.6398 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1645, allocations: 8.516 kB / 0.6398 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1645, allocations: 3.938 kB / 0.6398 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1645, allocations: 7.922 kB / 0.6398 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1648, allocations: 227.2 kB / 0.64 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.1649, allocations: 96.92 kB / 0.6401 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.1649, allocations: 0 / 0.6401 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1651, allocations: 27.91 kB / 0.6401 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.1652, allocations: 27.91 kB / 0.6401 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1652, allocations: 3.984 kB / 0.6401 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1653, allocations: 152.5 kB / 0.6403 GB, free: 11.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1653, allocations: 0 / 0.6403 GB, free: 11.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1656, allocations: 39.84 kB / 0.6403 GB, free: 11.56 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.0001399/0.1658, allocations: 115.2 kB / 0.6404 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1661, allocations: 107.9 kB / 0.6405 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1661, allocations: 0 / 0.6405 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1662, allocations: 55.92 kB / 0.6406 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1666, allocations: 24.05 kB / 0.6406 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.1672, allocations: 313.2 kB / 0.6409 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1675, allocations: 0.7438 MB / 0.6416 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.1676, allocations: 13.42 kB / 0.6417 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1677, allocations: 23.42 kB / 0.6417 GB, free: 10.12 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1677, allocations: 288 / 0.6417 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Templates: time 0.00503/0.1727, allocations: 2.185 MB / 0.6438 GB, free: 7.961 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)