Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001555/0.001556, allocations: 111.7 kB / 16.41 MB, free: 6.488 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.001365/0.001365, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 290.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9846/0.9846, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4945, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003253/0.4977, allocations: 2.018 MB / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.4988, allocations: 0.5689 MB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.4989, allocations: 4 kB / 0.7696 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.499, allocations: 23.67 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.4991, allocations: 39.59 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.4994, allocations: 75.86 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.4997, allocations: 231.9 kB / 0.7699 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.4999, allocations: 113.7 kB / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.5, allocations: 91.62 kB / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.5002, allocations: 99.55 kB / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.5002, allocations: 28 kB / 0.7703 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.971e-05/0.5003, allocations: 35.98 kB / 0.7703 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.5004, allocations: 55.83 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.5005, allocations: 107.4 kB / 0.7704 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.5008, allocations: 275 kB / 0.7707 GB, free: 164 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5008, allocations: 3.938 kB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5008, allocations: 0 / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.5008, allocations: 0 / 0.7707 GB, free: 160 kB / 0.5294 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.0007683/0.5016, allocations: 0.5166 MB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.5016, allocations: 12.03 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.5017, allocations: 28.59 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.502, allocations: 256.6 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.502, allocations: 12.38 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.5021, allocations: 16.38 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.5025, allocations: 237.5 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5025, allocations: 0 / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.5025, allocations: 8 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5025, allocations: 4 kB / 0.7718 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.5028, allocations: 139.9 kB / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.5037, allocations: 0.5896 MB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.5041, allocations: 118.7 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.5042, allocations: 60.83 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.5043, allocations: 0 / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5043, allocations: 34.56 kB / 0.7727 GB, free: 13.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.5043, allocations: 4 kB / 0.7727 GB, free: 13.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004455/0.5048, allocations: 165.6 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.5048, allocations: 136.5 kB / 0.773 GB, free: 13.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.505, allocations: 223 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.5051, allocations: 33.7 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.5052, allocations: 136.2 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.5052, allocations: 27.64 kB / 0.7734 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.5053, allocations: 45.61 kB / 0.7734 GB, free: 13.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5054, allocations: 326.8 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.5055, allocations: 47.97 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.5057, allocations: 94.2 kB / 0.7739 GB, free: 12.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.5059, allocations: 85.69 kB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5059, allocations: 3.938 kB / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002997/0.5062, allocations: 156.5 kB / 0.7741 GB, free: 12.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5062, allocations: 8 kB / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5062, allocations: 0 / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5063, allocations: 0 / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5064, allocations: 23.86 kB / 0.7741 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5064, allocations: 4 kB / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.5065, allocations: 31.81 kB / 0.7742 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.5066, allocations: 4 kB / 0.7742 GB, free: 12.35 MB / 0.545 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.0001221/0.5067, allocations: 137.8 kB / 0.7743 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.5068, allocations: 19.8 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.5071, allocations: 143 kB / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5071, allocations: 7.938 kB / 0.7745 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5071, allocations: 0 / 0.7745 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5071, allocations: 0 / 0.7745 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.5074, allocations: 273.5 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5074, allocations: 4 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/0.5075, allocations: 15.98 kB / 0.7747 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5075, allocations: 4 kB / 0.7747 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5075, allocations: 3.984 kB / 0.7747 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5075, allocations: 3.938 kB / 0.7748 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5076, allocations: 0 / 0.7748 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.5079, allocations: 231.2 kB / 0.775 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.5079, allocations: 92.92 kB / 0.7751 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.508, allocations: 8 kB / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.5081, allocations: 23.91 kB / 0.7751 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.5082, allocations: 28 kB / 0.7751 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5082, allocations: 0 / 0.7751 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001158/0.5084, allocations: 155.2 kB / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5084, allocations: 3.938 kB / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002768/0.5086, allocations: 39.84 kB / 0.7753 GB, free: 11.08 MB / 0.545 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.000159/0.5088, allocations: 111.4 kB / 0.7754 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.5091, allocations: 119.8 kB / 0.7755 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5091, allocations: 0 / 0.7755 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.5093, allocations: 55.91 kB / 0.7756 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.5096, allocations: 22.19 kB / 0.7756 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.5102, allocations: 346.8 kB / 0.7759 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.5105, allocations: 0.728 MB / 0.7766 GB, free: 9.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.5106, allocations: 27.44 kB / 0.7767 GB, free: 9.613 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5106, allocations: 0 / 0.7767 GB, free: 9.613 MB / 0.545 GB Notification: Performance of Templates: time 0.004109/0.5147, allocations: 2.391 MB / 0.779 GB, free: 7.234 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)