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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 169.4 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7424/0.7424, allocations: 130.7 MB / 138.7 MB, free: 3.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008416/0.0008415, allocations: 84.84 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.063e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.573, allocations: 81.57 MB / 0.6282 GB, free: 42.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.7446, allocations: 113.3 MB / 0.7389 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.7449, allocations: 95.91 kB / 0.7389 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009535/0.7545, allocations: 3.318 MB / 0.7422 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7545, allocations: 0 / 0.7422 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.7546, allocations: 5.312 kB / 0.7422 GB, free: 10.02 MB / 0.5261 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.0007398/0.7553, allocations: 477.9 kB / 0.7427 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7554, allocations: 8.031 kB / 0.7427 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.7555, allocations: 27.67 kB / 0.7427 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.7558, allocations: 231.5 kB / 0.7429 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.7559, allocations: 8 kB / 0.7429 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.7559, allocations: 12 kB / 0.7429 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002552/0.7562, allocations: 114 kB / 0.743 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.7565, allocations: 182.5 kB / 0.7432 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.7565, allocations: 4 kB / 0.7432 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.7565, allocations: 0 / 0.7432 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7566, allocations: 4 kB / 0.7432 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.7576, allocations: 0.5666 MB / 0.7438 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.7579, allocations: 110.7 kB / 0.7439 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.758, allocations: 40.86 kB / 0.7439 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.691e-05/0.7581, allocations: 4.141 kB / 0.7439 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.7581, allocations: 38.5 kB / 0.744 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.7581, allocations: 0 / 0.744 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002979/0.7584, allocations: 105.5 kB / 0.7441 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.7585, allocations: 136.5 kB / 0.7442 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.7587, allocations: 158.2 kB / 0.7443 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.7587, allocations: 33.7 kB / 0.7444 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.7589, allocations: 144.2 kB / 0.7445 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.7589, allocations: 23.7 kB / 0.7445 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.7589, allocations: 3.938 kB / 0.7445 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7591, allocations: 326.8 kB / 0.7448 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.7592, allocations: 32 kB / 0.7449 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.7593, allocations: 71.42 kB / 0.7449 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.7594, allocations: 33.23 kB / 0.745 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7594, allocations: 0 / 0.745 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002333/0.7596, allocations: 117.5 kB / 0.7451 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.7596, allocations: 4.625 kB / 0.7451 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7597, allocations: 7.953 kB / 0.7451 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7597, allocations: 0 / 0.7451 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.7598, allocations: 31.92 kB / 0.7451 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.7598, allocations: 0.625 kB / 0.7451 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.76, allocations: 31.91 kB / 0.7452 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.76, allocations: 4 kB / 0.7452 GB, free: 6.738 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001069/0.7601, allocations: 110.4 kB / 0.7453 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.7602, allocations: 19.8 kB / 0.7453 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.7605, allocations: 119.4 kB / 0.7454 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7605, allocations: 8.125 kB / 0.7454 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7605, allocations: 0 / 0.7454 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7605, allocations: 7.938 kB / 0.7454 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.7608, allocations: 230.1 kB / 0.7456 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7608, allocations: 0 / 0.7456 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.7609, allocations: 23.92 kB / 0.7457 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7609, allocations: 0 / 0.7457 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7609, allocations: 0 / 0.7457 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.7609, allocations: 0 / 0.7457 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.761, allocations: 4 kB / 0.7457 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.7612, allocations: 211.2 kB / 0.7459 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.7613, allocations: 92.91 kB / 0.746 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.7613, allocations: 0 / 0.746 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.7615, allocations: 35.97 kB / 0.746 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.7616, allocations: 23.95 kB / 0.746 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.7616, allocations: 4 kB / 0.746 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001098/0.7617, allocations: 133.1 kB / 0.7461 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7617, allocations: 0 / 0.7461 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002667/0.762, allocations: 35.84 kB / 0.7462 GB, free: 5.617 MB / 0.5261 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) * 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.0002051/0.7622, allocations: 116.9 kB / 0.7463 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.7624, allocations: 83.94 kB / 0.7464 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7624, allocations: 0 / 0.7464 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.7625, allocations: 51.92 kB / 0.7464 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.7628, allocations: 8.469 kB / 0.7464 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.7633, allocations: 206.4 kB / 0.7466 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.7636, allocations: 0.7357 MB / 0.7473 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.638e-05/0.7637, allocations: 21.23 kB / 0.7474 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.7638, allocations: 15.44 kB / 0.7474 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.7638, allocations: 0 / 0.7474 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of Templates: time 0.004977/0.7688, allocations: 1.621 MB / 0.749 GB, free: 2.727 MB / 0.5261 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)