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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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.0009447/0.0009447, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008494/0.0008495, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8076/0.8076, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003188, allocations: 16.48 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002186/0.1423, allocations: 1.667 MB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009114/0.1432, allocations: 0.5359 MB / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.1434, allocations: 0 / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.72e-05/0.1434, allocations: 15.8 kB / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.1435, allocations: 39.88 kB / 0.5894 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.1437, allocations: 43.95 kB / 0.5895 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1439, allocations: 136.3 kB / 0.5896 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1441, allocations: 86.11 kB / 0.5897 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1442, allocations: 67.64 kB / 0.5897 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.1443, allocations: 67.62 kB / 0.5898 GB, free: 440 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1443, allocations: 11.98 kB / 0.5898 GB, free: 428 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.1444, allocations: 11.98 kB / 0.5898 GB, free: 416 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.1444, allocations: 27.86 kB / 0.5898 GB, free: 388 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.1445, allocations: 61.58 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1447, allocations: 203.7 kB / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1447, allocations: 0 / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1447, allocations: 0 / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1447, allocations: 4 kB / 0.5901 GB, free: 112 kB / 494.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.0006387/0.1454, allocations: 497.1 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.1454, allocations: 8.031 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.1454, allocations: 23.72 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1458, allocations: 255.3 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1458, allocations: 16 kB / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1458, allocations: 20 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1462, allocations: 220.7 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1462, allocations: 0 / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1463, allocations: 8 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1463, allocations: 4 kB / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.1466, allocations: 147.9 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.1474, allocations: 0.6089 MB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1478, allocations: 122.7 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.1478, allocations: 4.062 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1478, allocations: 42.55 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1478, allocations: 0 / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004185/0.1483, allocations: 181.5 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.1483, allocations: 132.5 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1485, allocations: 214.9 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1486, allocations: 33.7 kB / 0.5925 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.1487, allocations: 148.6 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1487, allocations: 27.56 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.1487, allocations: 0 / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1488, allocations: 330.8 kB / 0.593 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.149, allocations: 55.86 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1491, allocations: 88.27 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1492, allocations: 39.98 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1492, allocations: 7.938 kB / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002821/0.1495, allocations: 165.4 kB / 0.5934 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1495, allocations: 8 kB / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1496, allocations: 0 / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1496, allocations: 3.953 kB / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1497, allocations: 28.02 kB / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1497, allocations: 0 / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.1499, allocations: 31.88 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1499, allocations: 4 kB / 0.5934 GB, free: 12.43 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 ($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.0001167/0.15, allocations: 136 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1501, allocations: 27.81 kB / 0.5936 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.1504, allocations: 154.9 kB / 0.5937 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1504, allocations: 7.953 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1504, allocations: 0 / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1504, allocations: 0 / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.1507, allocations: 273.4 kB / 0.594 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1507, allocations: 4 kB / 0.594 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1508, allocations: 19.98 kB / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1508, allocations: 0 / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1509, allocations: 0 / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1509, allocations: 4 kB / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1509, allocations: 3.953 kB / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.1512, allocations: 239.2 kB / 0.5943 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1513, allocations: 88.92 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1513, allocations: 11.98 kB / 0.5944 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.1515, allocations: 24.17 kB / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.1516, allocations: 27.95 kB / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1516, allocations: 15.88 kB / 0.5944 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001264/0.1517, allocations: 152.4 kB / 0.5946 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1517, allocations: 0 / 0.5946 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002584/0.152, allocations: 35.84 kB / 0.5946 GB, free: 11.13 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 (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.0001704/0.1522, allocations: 111.2 kB / 0.5947 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.1525, allocations: 131.1 kB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1525, allocations: 0 / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1526, allocations: 51.98 kB / 0.5949 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1529, allocations: 20.05 kB / 0.5949 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.1534, allocations: 376.4 kB / 0.5953 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1537, allocations: 0.74 MB / 0.596 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.295e-05/0.1538, allocations: 13.42 kB / 0.596 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.1538, allocations: 23.42 kB / 0.596 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1538, allocations: 0 / 0.596 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of Templates: time 0.004112/0.158, allocations: 1.813 MB / 0.5978 GB, free: 7.836 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: