Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001363/0.001363, allocations: 106.6 kB / 16.41 MB, free: 6.488 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.00146/0.00146, allocations: 191 kB / 17.34 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7727/0.7727, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 71.28 kB / 0.582 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003369/0.1492, allocations: 2.04 MB / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1504, allocations: 0.5728 MB / 0.6629 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1506, allocations: 0 / 0.6629 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1508, allocations: 23.67 kB / 0.6629 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1509, allocations: 35.66 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1513, allocations: 83.78 kB / 0.663 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.1516, allocations: 228 kB / 0.6632 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1518, allocations: 124.4 kB / 0.6634 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.152, allocations: 91.69 kB / 0.6634 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1522, allocations: 99.48 kB / 0.6635 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.1522, allocations: 27.94 kB / 0.6636 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.1523, allocations: 39.98 kB / 0.6636 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.1524, allocations: 51.84 kB / 0.6637 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1525, allocations: 103.5 kB / 0.6638 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1528, allocations: 271 kB / 0.664 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1529, allocations: 4 kB / 0.664 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1529, allocations: 0 / 0.664 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.1529, allocations: 0 / 0.664 GB, free: 6.508 MB / 0.4981 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.0008383/0.1537, allocations: 0.5141 MB / 0.6645 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1538, allocations: 12.03 kB / 0.6645 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.1539, allocations: 24.66 kB / 0.6646 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1542, allocations: 264.4 kB / 0.6648 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1542, allocations: 12.38 kB / 0.6648 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.1543, allocations: 23.94 kB / 0.6648 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.1547, allocations: 209 kB / 0.665 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1547, allocations: 4 kB / 0.665 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.1547, allocations: 12 kB / 0.6651 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1547, allocations: 4 kB / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.155, allocations: 143.6 kB / 0.6652 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1561, allocations: 0.5856 MB / 0.6658 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.1564, allocations: 122.7 kB / 0.6659 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1566, allocations: 48.83 kB / 0.6659 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.1566, allocations: 4 kB / 0.6659 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1567, allocations: 38.56 kB / 0.666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.1567, allocations: 0 / 0.666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004765/0.1571, allocations: 169.8 kB / 0.6661 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.1572, allocations: 140.5 kB / 0.6663 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1574, allocations: 210.9 kB / 0.6665 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.1575, allocations: 29.7 kB / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1576, allocations: 148.1 kB / 0.6666 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1576, allocations: 35.64 kB / 0.6667 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.1577, allocations: 37.7 kB / 0.6667 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1578, allocations: 326.8 kB / 0.667 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.158, allocations: 47.97 kB / 0.6671 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1581, allocations: 84.27 kB / 0.6671 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1583, allocations: 93.62 kB / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1583, allocations: 0 / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003146/0.1587, allocations: 156.7 kB / 0.6674 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1587, allocations: 11.94 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1587, allocations: 0 / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1587, allocations: 0 / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1588, allocations: 20.02 kB / 0.6674 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1588, allocations: 4 kB / 0.6674 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.159, allocations: 31.81 kB / 0.6675 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.159, allocations: 4 kB / 0.6675 GB, free: 2.707 MB / 0.4981 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 0.0001271/0.1592, allocations: 139.5 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.1592, allocations: 19.75 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.1596, allocations: 151 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1596, allocations: 4 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1596, allocations: 0 / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1596, allocations: 0 / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.1599, allocations: 273.4 kB / 0.668 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1599, allocations: 0 / 0.668 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.16, allocations: 11.98 kB / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.16, allocations: 7.938 kB / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.16, allocations: 3.984 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.16, allocations: 4 kB / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.16, allocations: 0 / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.1604, allocations: 231.3 kB / 0.6683 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1604, allocations: 100.8 kB / 0.6684 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1605, allocations: 7.938 kB / 0.6684 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1606, allocations: 15.98 kB / 0.6684 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.1607, allocations: 31.95 kB / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1607, allocations: 0 / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001225/0.1609, allocations: 160.5 kB / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1609, allocations: 0 / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002986/0.1612, allocations: 35.91 kB / 0.6686 GB, free: 1.441 MB / 0.4981 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.0001595/0.1613, allocations: 115.2 kB / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.1617, allocations: 115.9 kB / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1617, allocations: 0 / 0.6688 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1618, allocations: 51.97 kB / 0.6689 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1622, allocations: 16 kB / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.1628, allocations: 354.6 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1631, allocations: 0.7281 MB / 0.6699 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.1632, allocations: 27.5 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.1632, allocations: 0 / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.004568/0.1678, allocations: 2.423 MB / 0.6723 GB, free: 13.57 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)