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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7926/0.7926, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 184.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 447.3 MB, free: 5.863 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.001035/0.001035, allocations: 115 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 279.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 80.16 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3394, allocations: 81.31 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002827/0.3423, allocations: 2.084 MB / 0.77 GB, free: 25.58 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.3431, allocations: 0.5494 MB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.3432, allocations: 7.938 kB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.3433, allocations: 15.86 kB / 0.7705 GB, free: 25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.3434, allocations: 27.78 kB / 0.7706 GB, free: 24.97 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.3436, allocations: 71.88 kB / 0.7706 GB, free: 24.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.3438, allocations: 208 kB / 0.7708 GB, free: 24.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.344, allocations: 114.3 kB / 0.7709 GB, free: 24.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.3441, allocations: 79.58 kB / 0.771 GB, free: 24.51 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.3442, allocations: 91.53 kB / 0.7711 GB, free: 24.42 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.3442, allocations: 12 kB / 0.7711 GB, free: 24.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.167e-05/0.3443, allocations: 23.92 kB / 0.7711 GB, free: 24.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.3443, allocations: 43.78 kB / 0.7712 GB, free: 24.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.3444, allocations: 95.41 kB / 0.7713 GB, free: 24.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3446, allocations: 255.2 kB / 0.7715 GB, free: 24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3446, allocations: 0 / 0.7715 GB, free: 24 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3446, allocations: 4 kB / 0.7715 GB, free: 23.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3446, allocations: 0 / 0.7715 GB, free: 23.99 MB / 458.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.0006151/0.3453, allocations: 0.521 MB / 0.772 GB, free: 23.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3453, allocations: 8.031 kB / 0.772 GB, free: 23.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.3453, allocations: 24.66 kB / 0.772 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3456, allocations: 257 kB / 0.7723 GB, free: 23.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3456, allocations: 16.38 kB / 0.7723 GB, free: 23.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3456, allocations: 20.38 kB / 0.7723 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.346, allocations: 225.2 kB / 0.7725 GB, free: 22.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.346, allocations: 0 / 0.7725 GB, free: 22.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.346, allocations: 4 kB / 0.7725 GB, free: 22.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.346, allocations: 4 kB / 0.7725 GB, free: 22.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.3463, allocations: 151.5 kB / 0.7727 GB, free: 22.67 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.347, allocations: 0.5857 MB / 0.7733 GB, free: 22.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.3473, allocations: 130.7 kB / 0.7734 GB, free: 21.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.3474, allocations: 44.83 kB / 0.7734 GB, free: 21.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3475, allocations: 8 kB / 0.7734 GB, free: 21.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.3475, allocations: 34.69 kB / 0.7735 GB, free: 21.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.3475, allocations: 0 / 0.7735 GB, free: 21.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003895/0.3479, allocations: 165.4 kB / 0.7736 GB, free: 21.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3479, allocations: 144.4 kB / 0.7738 GB, free: 21.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3481, allocations: 203.2 kB / 0.774 GB, free: 21.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3481, allocations: 29.7 kB / 0.774 GB, free: 21.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.3482, allocations: 152.1 kB / 0.7741 GB, free: 21.06 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3482, allocations: 28.02 kB / 0.7742 GB, free: 21.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.3483, allocations: 33.7 kB / 0.7742 GB, free: 21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.3483, allocations: 330.8 kB / 0.7745 GB, free: 20.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3484, allocations: 51.97 kB / 0.7746 GB, free: 20.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3486, allocations: 84.2 kB / 0.7746 GB, free: 20.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3487, allocations: 97.62 kB / 0.7747 GB, free: 20.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3487, allocations: 0 / 0.7747 GB, free: 20.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000248/0.349, allocations: 153.4 kB / 0.7749 GB, free: 20.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.349, allocations: 4 kB / 0.7749 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.349, allocations: 4 kB / 0.7749 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.349, allocations: 0 / 0.7749 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/0.3491, allocations: 23.86 kB / 0.7749 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3492, allocations: 0 / 0.7749 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3493, allocations: 27.91 kB / 0.7749 GB, free: 20.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3493, allocations: 16.03 kB / 0.7749 GB, free: 20.18 MB / 458.7 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 (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 8.65e-05/0.3494, allocations: 132.7 kB / 0.7751 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3495, allocations: 23.7 kB / 0.7751 GB, free: 20.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3497, allocations: 147 kB / 0.7752 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3498, allocations: 3.938 kB / 0.7752 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3498, allocations: 4 kB / 0.7752 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3498, allocations: 4 kB / 0.7753 GB, free: 19.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.35, allocations: 269.5 kB / 0.7755 GB, free: 19.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.35, allocations: 4 kB / 0.7755 GB, free: 19.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.602e-05/0.3501, allocations: 15.92 kB / 0.7755 GB, free: 19.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3501, allocations: 0 / 0.7755 GB, free: 19.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3501, allocations: 11.92 kB / 0.7755 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3501, allocations: 3.938 kB / 0.7755 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3501, allocations: 0 / 0.7755 GB, free: 19.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.3506, allocations: 0.8486 MB / 0.7764 GB, free: 18.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.3506, allocations: 92.91 kB / 0.7765 GB, free: 18.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3506, allocations: 4.188 kB / 0.7765 GB, free: 18.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3508, allocations: 15.98 kB / 0.7765 GB, free: 18.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.3509, allocations: 35.83 kB / 0.7765 GB, free: 18.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3509, allocations: 8 kB / 0.7765 GB, free: 18.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.256e-05/0.351, allocations: 156.5 kB / 0.7767 GB, free: 18.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.351, allocations: 0 / 0.7767 GB, free: 18.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000342/0.3513, allocations: 39.84 kB / 0.7767 GB, free: 18.25 MB / 458.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) * 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.0001226/0.3514, allocations: 107.8 kB / 0.7768 GB, free: 18.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3517, allocations: 107.9 kB / 0.7769 GB, free: 18.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3517, allocations: 4.062 kB / 0.7769 GB, free: 18.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3518, allocations: 59.91 kB / 0.777 GB, free: 17.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3522, allocations: 19.94 kB / 0.777 GB, free: 17.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.3528, allocations: 0.5056 MB / 0.7775 GB, free: 17.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3529, allocations: 0.7361 MB / 0.7782 GB, free: 16.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.487e-05/0.353, allocations: 21.42 kB / 0.7782 GB, free: 16.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.3531, allocations: 19.42 kB / 0.7782 GB, free: 16.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3531, allocations: 0 / 0.7782 GB, free: 16.6 MB / 458.7 MB Notification: Performance of Templates: time 0.003876/0.3569, allocations: 1.996 MB / 0.7802 GB, free: 14.65 MB / 458.7 MB 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)