Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.007077/0.007077, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001525/0.001525, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9142/0.9142, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5039, allocations: 80.91 MB / 0.6646 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00303/0.507, allocations: 2.033 MB / 0.6666 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.508, allocations: 0.5746 MB / 0.6672 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.5081, allocations: 2.594 kB / 0.6672 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.5083, allocations: 27.66 kB / 0.6672 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.5083, allocations: 31.75 kB / 0.6673 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.5087, allocations: 83.2 kB / 0.6673 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.509, allocations: 227.2 kB / 0.6676 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.5092, allocations: 113.2 kB / 0.6677 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.5093, allocations: 96.84 kB / 0.6678 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.5095, allocations: 101.5 kB / 0.6678 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.5095, allocations: 24.09 kB / 0.6679 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.5096, allocations: 31.75 kB / 0.6679 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.5097, allocations: 51.97 kB / 0.668 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.5098, allocations: 109.2 kB / 0.6681 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.5101, allocations: 283.7 kB / 0.6683 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5101, allocations: 0 / 0.6683 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5101, allocations: 0 / 0.6683 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.5101, allocations: 1.406 kB / 0.6683 GB, free: 4.922 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.0007744/0.5109, allocations: 0.5108 MB / 0.6688 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.511, allocations: 9.375 kB / 0.6688 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.5111, allocations: 29.56 kB / 0.6689 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.5114, allocations: 256.2 kB / 0.6691 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.5115, allocations: 15.06 kB / 0.6691 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.5115, allocations: 19.41 kB / 0.6691 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.5119, allocations: 225 kB / 0.6694 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.5119, allocations: 3.938 kB / 0.6694 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.512, allocations: 10.06 kB / 0.6694 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.512, allocations: 8.312 kB / 0.6694 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.5123, allocations: 143.3 kB / 0.6695 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.5132, allocations: 0.5825 MB / 0.6701 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.5136, allocations: 124 kB / 0.6702 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.5137, allocations: 53.34 kB / 0.6702 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.5137, allocations: 1.375 kB / 0.6703 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.5138, allocations: 36 kB / 0.6703 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.5138, allocations: 0 / 0.6703 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004435/0.5142, allocations: 174.7 kB / 0.6705 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.5143, allocations: 130.3 kB / 0.6706 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.5144, allocations: 213.6 kB / 0.6708 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.5145, allocations: 32.66 kB / 0.6708 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.5146, allocations: 148 kB / 0.671 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.5146, allocations: 31.14 kB / 0.671 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.5147, allocations: 34.64 kB / 0.671 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.5147, allocations: 334.5 kB / 0.6713 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.5148, allocations: 44.89 kB / 0.6714 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.515, allocations: 86.55 kB / 0.6715 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.5152, allocations: 91.97 kB / 0.6715 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5152, allocations: 0 / 0.6715 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002904/0.5155, allocations: 158.2 kB / 0.6717 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5155, allocations: 8.156 kB / 0.6717 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5155, allocations: 1.625 kB / 0.6717 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5155, allocations: 4.078 kB / 0.6717 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5156, allocations: 25.12 kB / 0.6717 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5156, allocations: 1.469 kB / 0.6717 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.5158, allocations: 29.47 kB / 0.6718 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.5158, allocations: 7.188 kB / 0.6718 GB, free: 1.992 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.0001012/0.5159, allocations: 130.9 kB / 0.6719 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.516, allocations: 21.06 kB / 0.6719 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.5163, allocations: 154.6 kB / 0.6721 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5163, allocations: 1.094 kB / 0.6721 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5163, allocations: 0 / 0.6721 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5163, allocations: 1.094 kB / 0.6721 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.5166, allocations: 275.7 kB / 0.6723 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5166, allocations: 5.219 kB / 0.6723 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.5167, allocations: 14.83 kB / 0.6723 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5167, allocations: 3.938 kB / 0.6724 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.5167, allocations: 5.438 kB / 0.6724 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5167, allocations: 5.281 kB / 0.6724 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5167, allocations: 0 / 0.6724 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.517, allocations: 224.6 kB / 0.6726 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.517, allocations: 89.61 kB / 0.6727 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.5171, allocations: 18.08 kB / 0.6727 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.5172, allocations: 28.55 kB / 0.6727 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.5173, allocations: 25.14 kB / 0.6727 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5173, allocations: 3.219 kB / 0.6727 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001094/0.5175, allocations: 148.9 kB / 0.6729 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5175, allocations: 0 / 0.6729 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002678/0.5177, allocations: 41.28 kB / 0.6729 GB, free: 1.004 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.0001559/0.5179, allocations: 116.3 kB / 0.673 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.5182, allocations: 108.8 kB / 0.6731 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5182, allocations: 1.531 kB / 0.6731 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.5183, allocations: 58.17 kB / 0.6732 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.5187, allocations: 21.42 kB / 0.6732 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.5193, allocations: 319 kB / 0.6735 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.5195, allocations: 0.7295 MB / 0.6742 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.553e-05/0.5196, allocations: 19.39 kB / 0.6742 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.5196, allocations: 25.36 kB / 0.6743 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.5196, allocations: 0 / 0.6743 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.005654/0.5253, allocations: 2.181 MB / 0.6764 GB, free: 14.77 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)