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.007584/0.007585, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7208/0.7208, allocations: 132.3 MB / 148.1 MB, free: 256 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.1 MB / 403.2 MB, free: 6.742 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.0009775/0.0009774, allocations: 97.77 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 12 kB / 0.5641 GB, free: 2.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3819, allocations: 81.58 MB / 0.6438 GB, free: 39.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5373, allocations: 114.1 MB / 0.7552 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5376, allocations: 87.94 kB / 0.7552 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009712/0.5473, allocations: 3.35 MB / 0.7585 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5474, allocations: 4 kB / 0.7585 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.5474, allocations: 4 kB / 0.7585 GB, free: 2.406 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.0006551/0.5481, allocations: 0.4984 MB / 0.759 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5481, allocations: 8.031 kB / 0.759 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.5482, allocations: 27.67 kB / 0.7591 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.5485, allocations: 231.5 kB / 0.7593 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.5485, allocations: 16 kB / 0.7593 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.5486, allocations: 20 kB / 0.7593 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.549, allocations: 224.7 kB / 0.7595 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.549, allocations: 0 / 0.7595 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.549, allocations: 8 kB / 0.7595 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.5491, allocations: 11.98 kB / 0.7595 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.5494, allocations: 147.7 kB / 0.7597 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.5503, allocations: 0.6131 MB / 0.7603 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.5507, allocations: 134.7 kB / 0.7604 GB, free: 320 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.5508, allocations: 0 / 0.7604 GB, free: 320 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5508, allocations: 34.56 kB / 0.7604 GB, free: 276 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.5508, allocations: 3.938 kB / 0.7604 GB, free: 272 kB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0004769/0.5513, allocations: 189.6 kB / 0.7606 GB, free: 76 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.319e-05/0.5514, allocations: 128.5 kB / 0.7607 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.5516, allocations: 194.2 kB / 0.7609 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.5516, allocations: 29.7 kB / 0.761 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.5517, allocations: 140.3 kB / 0.7611 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.5518, allocations: 35.55 kB / 0.7611 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.5518, allocations: 0 / 0.7611 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5519, allocations: 330.8 kB / 0.7614 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.552, allocations: 51.97 kB / 0.7615 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.5522, allocations: 80.16 kB / 0.7616 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5523, allocations: 51.36 kB / 0.7616 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5524, allocations: 3.938 kB / 0.7616 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002924/0.5526, allocations: 153.5 kB / 0.7618 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5527, allocations: 7.953 kB / 0.7618 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5527, allocations: 0 / 0.7618 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5527, allocations: 11.94 kB / 0.7618 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5528, allocations: 19.98 kB / 0.7618 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5528, allocations: 0 / 0.7618 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.553, allocations: 39.81 kB / 0.7618 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.553, allocations: 4 kB / 0.7618 GB, free: 14.75 MB / 0.5417 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 () * Number of clocked 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.0001282/0.5532, allocations: 141.6 kB / 0.762 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.5532, allocations: 27.8 kB / 0.762 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.5536, allocations: 154.9 kB / 0.7622 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5536, allocations: 0 / 0.7622 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5536, allocations: 8 kB / 0.7622 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5536, allocations: 0 / 0.7622 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.5539, allocations: 274 kB / 0.7624 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5539, allocations: 0 / 0.7624 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.554, allocations: 15.98 kB / 0.7624 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.554, allocations: 0 / 0.7624 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.554, allocations: 4 kB / 0.7624 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.554, allocations: 7.891 kB / 0.7625 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5541, allocations: 4 kB / 0.7625 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.5544, allocations: 239.2 kB / 0.7627 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.5544, allocations: 88.92 kB / 0.7628 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.5545, allocations: 11.98 kB / 0.7628 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5547, allocations: 27.98 kB / 0.7628 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.5547, allocations: 35.94 kB / 0.7628 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.5548, allocations: 7.984 kB / 0.7628 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001159/0.5549, allocations: 152.6 kB / 0.763 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5549, allocations: 0 / 0.763 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002595/0.5552, allocations: 35.91 kB / 0.763 GB, free: 13.43 MB / 0.5417 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.000188/0.5554, allocations: 127.1 kB / 0.7632 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.5557, allocations: 111.9 kB / 0.7633 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5557, allocations: 0 / 0.7633 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.5558, allocations: 59.98 kB / 0.7633 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.5561, allocations: 19.94 kB / 0.7633 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.5567, allocations: 380.7 kB / 0.7637 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.557, allocations: 0.74 MB / 0.7644 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.466e-05/0.5571, allocations: 13.42 kB / 0.7644 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.5572, allocations: 27.36 kB / 0.7645 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.5572, allocations: 4 kB / 0.7645 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.004604/0.5618, allocations: 1.852 MB / 0.7663 GB, free: 10.07 MB / 0.5417 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)