Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001381/0.001381, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001442/0.001442, allocations: 195.5 kB / 16.26 MB, free: 6.617 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.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7448 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 65.44 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003142/0.3232, allocations: 2.091 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.3241, allocations: 0.5571 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.3242, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.3243, allocations: 15.8 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.3244, allocations: 31.78 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3247, allocations: 67.95 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.325, allocations: 224 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.3252, allocations: 115.6 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3253, allocations: 95.58 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3255, allocations: 99.53 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.3255, allocations: 24 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.3256, allocations: 35.94 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.3257, allocations: 59.81 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.3258, allocations: 111.3 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.326, allocations: 259.4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3261, allocations: 4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3261, allocations: 4 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3261, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 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.0007393/0.3268, allocations: 0.514 MB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.3269, allocations: 12.03 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.3269, allocations: 24.66 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3273, allocations: 260.6 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3273, allocations: 12.38 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.3273, allocations: 20.38 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.3277, allocations: 229 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3278, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.3278, allocations: 8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3278, allocations: 4 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.3281, allocations: 143.9 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.329, allocations: 0.5935 MB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.3293, allocations: 118.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3295, allocations: 44.84 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.3295, allocations: 11.98 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3295, allocations: 34.56 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3296, allocations: 0 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004475/0.33, allocations: 165.6 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.3301, allocations: 136.5 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3303, allocations: 207.3 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.3303, allocations: 37.7 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.3304, allocations: 156 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3305, allocations: 28.02 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.3305, allocations: 33.7 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3307, allocations: 326.8 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3308, allocations: 47.97 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3309, allocations: 95.45 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3312, allocations: 89.69 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3312, allocations: 0 / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002938/0.3315, allocations: 153.3 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3315, allocations: 4 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3315, allocations: 4.031 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3315, allocations: 4.047 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3317, allocations: 31.84 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3317, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3318, allocations: 23.97 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.3318, allocations: 4 kB / 1.075 GB, free: 3.223 MB / 0.8262 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.0001208/0.332, allocations: 143.9 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.332, allocations: 19.72 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.3324, allocations: 146.9 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3324, allocations: 3.938 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3324, allocations: 0 / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3324, allocations: 0 / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3327, allocations: 273.5 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3327, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3328, allocations: 19.92 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3328, allocations: 7.938 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3328, allocations: 3.984 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3328, allocations: 7.938 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3328, allocations: 0 / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.3331, allocations: 223.3 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.3332, allocations: 92.91 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.3332, allocations: 8 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3334, allocations: 23.92 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.3335, allocations: 24.14 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3335, allocations: 8 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001191/0.3336, allocations: 156.1 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3336, allocations: 0 / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002779/0.3339, allocations: 43.84 kB / 1.076 GB, free: 1.945 MB / 0.8262 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.0001683/0.3341, allocations: 115.2 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3344, allocations: 107.9 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3344, allocations: 0 / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3346, allocations: 59.91 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.335, allocations: 16.7 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.3356, allocations: 393 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3359, allocations: 0.7241 MB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.791e-05/0.336, allocations: 25.41 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.336, allocations: 23.44 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3361, allocations: 0 / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of Templates: time 0.004964/0.341, allocations: 1.999 MB / 1.079 GB, free: 14.48 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)