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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001847, allocations: 101.9 kB / 16.27 MB, free: 5.977 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.002155/0.002155, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8666/0.8666, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 59.89 kB / 0.4957 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3521, allocations: 78.87 MB / 0.5728 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003167/0.3553, allocations: 2.018 MB / 0.5747 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3564, allocations: 0.5696 MB / 0.5753 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.3565, allocations: 4.094 kB / 0.5753 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3566, allocations: 20.34 kB / 0.5753 GB, free: 29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.3567, allocations: 38.66 kB / 0.5754 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.357, allocations: 88.66 kB / 0.5754 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.3572, allocations: 222.7 kB / 0.5757 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.3574, allocations: 112.2 kB / 0.5758 GB, free: 28.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3576, allocations: 87.7 kB / 0.5758 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3577, allocations: 103.6 kB / 0.5759 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.3577, allocations: 25.75 kB / 0.576 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.3578, allocations: 29.59 kB / 0.576 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.3579, allocations: 57.72 kB / 0.5761 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.358, allocations: 110.6 kB / 0.5762 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.3584, allocations: 264.4 kB / 0.5764 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3584, allocations: 2.688 kB / 0.5764 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3584, allocations: 0 / 0.5764 GB, free: 28.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3585, allocations: 0.5156 kB / 0.5764 GB, free: 28.41 MB / 446.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.0008878/0.3594, allocations: 0.5224 MB / 0.5769 GB, free: 27.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3594, allocations: 11.84 kB / 0.5769 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.3595, allocations: 24.88 kB / 0.577 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3598, allocations: 253.1 kB / 0.5772 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3598, allocations: 19.97 kB / 0.5772 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.3599, allocations: 20.78 kB / 0.5772 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.3603, allocations: 228.4 kB / 0.5775 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3603, allocations: 0 / 0.5775 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3603, allocations: 9.25 kB / 0.5775 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3603, allocations: 6.062 kB / 0.5775 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.3606, allocations: 136 kB / 0.5776 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.3615, allocations: 0.5977 MB / 0.5782 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.3619, allocations: 114.9 kB / 0.5783 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.362, allocations: 48.22 kB / 0.5783 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.362, allocations: 2.156 kB / 0.5783 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3621, allocations: 44.36 kB / 0.5784 GB, free: 26.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3621, allocations: 2.469 kB / 0.5784 GB, free: 26.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004265/0.3625, allocations: 170.1 kB / 0.5785 GB, free: 26.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3626, allocations: 130.7 kB / 0.5787 GB, free: 26.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3627, allocations: 218.6 kB / 0.5789 GB, free: 26.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3628, allocations: 36.38 kB / 0.5789 GB, free: 26.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.3628, allocations: 140.2 kB / 0.5791 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3629, allocations: 32.3 kB / 0.5791 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3629, allocations: 40.36 kB / 0.5791 GB, free: 26.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.363, allocations: 329.8 kB / 0.5794 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.3631, allocations: 45.58 kB / 0.5795 GB, free: 25.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3632, allocations: 83.94 kB / 0.5796 GB, free: 25.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3634, allocations: 97.72 kB / 0.5797 GB, free: 25.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3634, allocations: 0 / 0.5797 GB, free: 25.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002739/0.3637, allocations: 151.4 kB / 0.5798 GB, free: 25.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3638, allocations: 9.281 kB / 0.5798 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3638, allocations: 5.125 kB / 0.5798 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3638, allocations: 1.281 kB / 0.5798 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3639, allocations: 17.48 kB / 0.5798 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3639, allocations: 5.156 kB / 0.5798 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.364, allocations: 34.62 kB / 0.5799 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.3641, allocations: 3.688 kB / 0.5799 GB, free: 25.7 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 (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.0001/0.3642, allocations: 135.6 kB / 0.58 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.3642, allocations: 20.72 kB / 0.58 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.3645, allocations: 152 kB / 0.5802 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3645, allocations: 3.25 kB / 0.5802 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3646, allocations: 0 / 0.5802 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3646, allocations: 1.688 kB / 0.5802 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.3648, allocations: 267.8 kB / 0.5804 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3648, allocations: 1.484 kB / 0.5804 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.3649, allocations: 18.06 kB / 0.5804 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3649, allocations: 1.781 kB / 0.5804 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3649, allocations: 14 kB / 0.5805 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.365, allocations: 0 / 0.5805 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.365, allocations: 8.141 kB / 0.5805 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3652, allocations: 221.3 kB / 0.5807 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.3653, allocations: 105 kB / 0.5808 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.3653, allocations: 9.312 kB / 0.5808 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3655, allocations: 18.02 kB / 0.5808 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.3655, allocations: 26.02 kB / 0.5808 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3655, allocations: 2.031 kB / 0.5808 GB, free: 24.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3656, allocations: 151.3 kB / 0.581 GB, free: 24.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3657, allocations: 0 / 0.581 GB, free: 24.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3659, allocations: 33.62 kB / 0.581 GB, free: 24.73 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 (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.0001557/0.3661, allocations: 117.9 kB / 0.5811 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3664, allocations: 114.7 kB / 0.5812 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3664, allocations: 1.125 kB / 0.5812 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3666, allocations: 52.09 kB / 0.5813 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3669, allocations: 20.86 kB / 0.5813 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.3675, allocations: 337.7 kB / 0.5816 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3676, allocations: 0.7268 MB / 0.5823 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.278e-05/0.3677, allocations: 26.8 kB / 0.5824 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.3678, allocations: 21.36 kB / 0.5824 GB, free: 23.56 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3678, allocations: 0 / 0.5824 GB, free: 23.56 MB / 446.1 MB Notification: Performance of Templates: time 0.004959/0.3728, allocations: 2.157 MB / 0.5845 GB, free: 22.57 MB / 446.1 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)