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.0009598/0.0009598, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001177/0.001177, allocations: 168.7 kB / 15.95 MB, free: 204 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.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7275/0.7275, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 11.98 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3505, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001902/0.3524, allocations: 1.691 MB / 0.5847 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.3532, allocations: 0.522 MB / 0.5852 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.3533, allocations: 2.375 kB / 0.5853 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.384e-05/0.3534, allocations: 16.88 kB / 0.5853 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.3534, allocations: 29.5 kB / 0.5853 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3537, allocations: 56.73 kB / 0.5853 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3539, allocations: 197.5 kB / 0.5855 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.3541, allocations: 96.69 kB / 0.5856 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3542, allocations: 57.69 kB / 0.5857 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3543, allocations: 74.95 kB / 0.5858 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.3543, allocations: 6.75 kB / 0.5858 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.3544, allocations: 10.8 kB / 0.5858 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.3545, allocations: 30.11 kB / 0.5858 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.3545, allocations: 56.48 kB / 0.5859 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.3548, allocations: 202.1 kB / 0.586 GB, free: 2.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3548, allocations: 0.75 kB / 0.586 GB, free: 2.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3548, allocations: 0 / 0.586 GB, free: 2.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3548, allocations: 4 kB / 0.5861 GB, free: 2.016 MB / 430.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.0006112/0.3554, allocations: 498.3 kB / 0.5865 GB, free: 1.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3554, allocations: 13.44 kB / 0.5865 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3555, allocations: 28.52 kB / 0.5866 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3558, allocations: 250.5 kB / 0.5868 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3558, allocations: 15.25 kB / 0.5868 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.3558, allocations: 24 kB / 0.5868 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.3562, allocations: 224.6 kB / 0.5871 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3562, allocations: 0.7188 kB / 0.5871 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3563, allocations: 7.188 kB / 0.5871 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3563, allocations: 3.969 kB / 0.5871 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.3566, allocations: 149.5 kB / 0.5872 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.3574, allocations: 0.6005 MB / 0.5878 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.3578, allocations: 121.8 kB / 0.5879 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3579, allocations: 57.17 kB / 0.588 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.358, allocations: 3.344 kB / 0.588 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.358, allocations: 39.62 kB / 0.588 GB, free: 0.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.358, allocations: 4.719 kB / 0.588 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004371/0.3584, allocations: 178.8 kB / 0.5882 GB, free: 0.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3585, allocations: 131.5 kB / 0.5883 GB, free: 352 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3587, allocations: 208.3 kB / 0.5885 GB, free: 208 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3587, allocations: 36.97 kB / 0.5885 GB, free: 168 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.3588, allocations: 143.8 kB / 0.5887 GB, free: 40 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.3588, allocations: 34.27 kB / 0.5887 GB, free: 12 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.3588, allocations: 1.062 kB / 0.5887 GB, free: 12 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3589, allocations: 328.2 kB / 0.589 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3591, allocations: 50.38 kB / 0.5891 GB, free: 15.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3592, allocations: 92.45 kB / 0.5892 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3594, allocations: 41.81 kB / 0.5892 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3594, allocations: 0 / 0.5892 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003243/0.3597, allocations: 170.3 kB / 0.5894 GB, free: 15.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3597, allocations: 5.062 kB / 0.5894 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3597, allocations: 5.328 kB / 0.5894 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3598, allocations: 1.828 kB / 0.5894 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3599, allocations: 21.8 kB / 0.5894 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3599, allocations: 5.906 kB / 0.5894 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.3601, allocations: 44.33 kB / 0.5894 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3601, allocations: 6.688 kB / 0.5895 GB, free: 15.48 MB / 446.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 ($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.3602, allocations: 131.5 kB / 0.5896 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.3603, allocations: 30.03 kB / 0.5896 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.3606, allocations: 152.3 kB / 0.5898 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3606, allocations: 1.125 kB / 0.5898 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3606, allocations: 0.9375 kB / 0.5898 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3606, allocations: 0 / 0.5898 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.361, allocations: 272.5 kB / 0.59 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.361, allocations: 5.156 kB / 0.59 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3611, allocations: 20.02 kB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3611, allocations: 1.375 kB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3611, allocations: 7.156 kB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3611, allocations: 0 / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3611, allocations: 1.375 kB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.3614, allocations: 237.4 kB / 0.5903 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.3615, allocations: 95.23 kB / 0.5904 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.3615, allocations: 8.453 kB / 0.5904 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3617, allocations: 28.88 kB / 0.5904 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.3618, allocations: 29.5 kB / 0.5904 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3618, allocations: 4.562 kB / 0.5904 GB, free: 14.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3619, allocations: 153.2 kB / 0.5906 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3619, allocations: 1.031 kB / 0.5906 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3622, allocations: 40.06 kB / 0.5906 GB, free: 14.61 MB / 446.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 (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.0001327/0.3624, allocations: 107.7 kB / 0.5907 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.3627, allocations: 121.8 kB / 0.5908 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3627, allocations: 3.938 kB / 0.5908 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.3629, allocations: 57 kB / 0.5909 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3632, allocations: 19.89 kB / 0.5909 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.3638, allocations: 381.8 kB / 0.5913 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3641, allocations: 0.7317 MB / 0.592 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.039e-05/0.3642, allocations: 16.59 kB / 0.592 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.3642, allocations: 23.05 kB / 0.592 GB, free: 13.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3642, allocations: 0 / 0.592 GB, free: 13.48 MB / 446.1 MB Notification: Performance of Templates: time 0.004841/0.3691, allocations: 1.826 MB / 0.5938 GB, free: 13.35 MB / 446.1 MB 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)