Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001012/0.001012, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4559/0.4559, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.3 MB / 348.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.000875, allocations: 99.83 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.371e-05, allocations: 4 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3768, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.5052, allocations: 104.5 MB / 0.6622 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5055, allocations: 91.92 kB / 0.6623 GB, free: 15.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00908/0.5146, allocations: 3.352 MB / 0.6656 GB, free: 12.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5146, allocations: 0 / 0.6656 GB, free: 12.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.5147, allocations: 4 kB / 0.6656 GB, free: 12.42 MB / 490.7 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.0006144/0.5153, allocations: 477.9 kB / 0.6661 GB, free: 11.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5153, allocations: 11.98 kB / 0.6661 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.5154, allocations: 35.62 kB / 0.6661 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.5157, allocations: 231.5 kB / 0.6663 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.5157, allocations: 15.78 kB / 0.6663 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.5158, allocations: 20 kB / 0.6664 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.5162, allocations: 204.8 kB / 0.6666 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.5162, allocations: 4 kB / 0.6666 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.5162, allocations: 11.95 kB / 0.6666 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.5162, allocations: 4 kB / 0.6666 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.5165, allocations: 115.8 kB / 0.6667 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.5174, allocations: 0.613 MB / 0.6673 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.5178, allocations: 114.7 kB / 0.6674 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.5179, allocations: 41.64 kB / 0.6674 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.5179, allocations: 11.98 kB / 0.6674 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.5179, allocations: 34.56 kB / 0.6675 GB, free: 10.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.518, allocations: 0 / 0.6675 GB, free: 10.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002914/0.5183, allocations: 114.8 kB / 0.6676 GB, free: 10.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.5184, allocations: 132.5 kB / 0.6677 GB, free: 10.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.5185, allocations: 194 kB / 0.6679 GB, free: 9.852 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.5186, allocations: 29.7 kB / 0.6679 GB, free: 9.816 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5187, allocations: 144.2 kB / 0.6681 GB, free: 9.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.5187, allocations: 27.64 kB / 0.6681 GB, free: 9.641 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.5188, allocations: 0 / 0.6681 GB, free: 9.641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5189, allocations: 330.8 kB / 0.6684 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.519, allocations: 40.56 kB / 0.6684 GB, free: 9.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.5191, allocations: 69.05 kB / 0.6685 GB, free: 9.191 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.5192, allocations: 35.89 kB / 0.6685 GB, free: 9.156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5192, allocations: 4 kB / 0.6685 GB, free: 9.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002092/0.5194, allocations: 142.6 kB / 0.6687 GB, free: 9.008 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5194, allocations: 4 kB / 0.6687 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5194, allocations: 2.062 kB / 0.6687 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5195, allocations: 0 / 0.6687 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5196, allocations: 19.98 kB / 0.6687 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5196, allocations: 2.969 kB / 0.6687 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.5198, allocations: 39.91 kB / 0.6687 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.5198, allocations: 3.938 kB / 0.6688 GB, free: 8.941 MB / 490.7 MB 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 8.325e-05/0.5199, allocations: 118.2 kB / 0.6689 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.5199, allocations: 15.81 kB / 0.6689 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.5202, allocations: 135.1 kB / 0.669 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5202, allocations: 4 kB / 0.669 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5202, allocations: 0 / 0.669 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5202, allocations: 3.984 kB / 0.669 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.5205, allocations: 277.4 kB / 0.6693 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5205, allocations: 3.953 kB / 0.6693 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.5206, allocations: 19.98 kB / 0.6693 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5206, allocations: 0 / 0.6693 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5206, allocations: 1.688 kB / 0.6693 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5206, allocations: 3.984 kB / 0.6693 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5206, allocations: 0 / 0.6693 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.5209, allocations: 219.3 kB / 0.6695 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.521, allocations: 96.88 kB / 0.6696 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.521, allocations: 4 kB / 0.6696 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5212, allocations: 35.97 kB / 0.6696 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.5213, allocations: 23.95 kB / 0.6697 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5213, allocations: 7.984 kB / 0.6697 GB, free: 7.895 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.5214, allocations: 148.7 kB / 0.6698 GB, free: 7.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5214, allocations: 9.562 kB / 0.6698 GB, free: 7.742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.5217, allocations: 32 kB / 0.6699 GB, free: 7.711 MB / 490.7 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) * 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.0002187/0.5219, allocations: 107.2 kB / 0.67 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.5221, allocations: 91.94 kB / 0.6701 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5222, allocations: 0 / 0.6701 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.5222, allocations: 47.98 kB / 0.6701 GB, free: 7.457 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.5225, allocations: 23.45 kB / 0.6701 GB, free: 7.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.5229, allocations: 210.7 kB / 0.6703 GB, free: 7.215 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5232, allocations: 0.7361 MB / 0.671 GB, free: 6.453 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.5233, allocations: 17.2 kB / 0.6711 GB, free: 6.434 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.5234, allocations: 15.44 kB / 0.6711 GB, free: 6.422 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5234, allocations: 0 / 0.6711 GB, free: 6.422 MB / 490.7 MB Notification: Performance of Templates: time 0.004568/0.528, allocations: 1.872 MB / 0.6729 GB, free: 4.594 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)