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.001069/0.001069, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001213/0.001213, allocations: 195 kB / 17.98 MB, free: 5.027 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.248/1.248, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6813/0.6813, allocations: 115.1 MB / 406.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3251, allocations: 76.14 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00298/0.3281, allocations: 2.007 MB / 0.5596 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.3291, allocations: 0.5672 MB / 0.5601 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.3292, allocations: 3.469 kB / 0.5601 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.3293, allocations: 25.8 kB / 0.5601 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.3294, allocations: 40.52 kB / 0.5602 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.3297, allocations: 76.52 kB / 0.5602 GB, free: 34.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3299, allocations: 230.8 kB / 0.5605 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.3301, allocations: 111.8 kB / 0.5606 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3302, allocations: 96.31 kB / 0.5607 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3303, allocations: 95.94 kB / 0.5608 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.3304, allocations: 28.14 kB / 0.5608 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.3305, allocations: 34.64 kB / 0.5608 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.3305, allocations: 57.19 kB / 0.5609 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.3306, allocations: 102.3 kB / 0.561 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.3309, allocations: 280.1 kB / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.331, allocations: 0 / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.331, allocations: 1.094 kB / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.331, allocations: 0 / 0.5612 GB, free: 34.21 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.0006511/0.3316, allocations: 0.5268 MB / 0.5617 GB, free: 33.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3317, allocations: 9.969 kB / 0.5618 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.3317, allocations: 24.91 kB / 0.5618 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.332, allocations: 254.7 kB / 0.562 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.332, allocations: 11.94 kB / 0.562 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3321, allocations: 19.25 kB / 0.5621 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.3324, allocations: 229.6 kB / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3324, allocations: 5.031 kB / 0.5623 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.3325, allocations: 10.41 kB / 0.5623 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3325, allocations: 4.906 kB / 0.5623 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.3327, allocations: 136.5 kB / 0.5624 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.3335, allocations: 0.5882 MB / 0.563 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3339, allocations: 116 kB / 0.5631 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.334, allocations: 52.17 kB / 0.5632 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.334, allocations: 2.234 kB / 0.5632 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.334, allocations: 36.53 kB / 0.5632 GB, free: 32.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.334, allocations: 1.5 kB / 0.5632 GB, free: 32.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004042/0.3345, allocations: 165.5 kB / 0.5634 GB, free: 32.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3345, allocations: 139 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3347, allocations: 206.8 kB / 0.5637 GB, free: 32.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3347, allocations: 35.09 kB / 0.5637 GB, free: 32.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.3348, allocations: 146.3 kB / 0.5639 GB, free: 32.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3348, allocations: 32.17 kB / 0.5639 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.3349, allocations: 35.38 kB / 0.5639 GB, free: 32.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.3349, allocations: 333.6 kB / 0.5642 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.335, allocations: 51.44 kB / 0.5643 GB, free: 31.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3352, allocations: 84.72 kB / 0.5644 GB, free: 31.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3354, allocations: 88.06 kB / 0.5645 GB, free: 31.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3354, allocations: 1.125 kB / 0.5645 GB, free: 31.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002748/0.3356, allocations: 159.2 kB / 0.5646 GB, free: 31.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3357, allocations: 7.781 kB / 0.5646 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3357, allocations: 0.5625 kB / 0.5646 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3357, allocations: 2.656 kB / 0.5646 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3358, allocations: 24.66 kB / 0.5646 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3358, allocations: 1.188 kB / 0.5646 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.336, allocations: 33.8 kB / 0.5647 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.336, allocations: 5.281 kB / 0.5647 GB, free: 31.65 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 8.76e-05/0.3361, allocations: 133.1 kB / 0.5648 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3361, allocations: 16.38 kB / 0.5648 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.3364, allocations: 150.6 kB / 0.565 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3364, allocations: 4.969 kB / 0.565 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3364, allocations: 1.312 kB / 0.565 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3365, allocations: 5.219 kB / 0.565 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3367, allocations: 277.5 kB / 0.5652 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3367, allocations: 0.5625 kB / 0.5652 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.3368, allocations: 14.81 kB / 0.5653 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3368, allocations: 1.969 kB / 0.5653 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3368, allocations: 2.719 kB / 0.5653 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3368, allocations: 5.609 kB / 0.5653 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3368, allocations: 9.328 kB / 0.5653 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3371, allocations: 225.2 kB / 0.5655 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.3371, allocations: 94.78 kB / 0.5656 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.3372, allocations: 9.156 kB / 0.5656 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3373, allocations: 20.39 kB / 0.5656 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.3374, allocations: 30.23 kB / 0.5656 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3374, allocations: 3.438 kB / 0.5656 GB, free: 30.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3375, allocations: 155.1 kB / 0.5658 GB, free: 30.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3376, allocations: 3.938 kB / 0.5658 GB, free: 30.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3378, allocations: 40.72 kB / 0.5658 GB, free: 30.78 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.0001227/0.338, allocations: 108.5 kB / 0.5659 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3382, allocations: 112.8 kB / 0.566 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3383, allocations: 1.062 kB / 0.566 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3384, allocations: 57.78 kB / 0.5661 GB, free: 30.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3387, allocations: 19.92 kB / 0.5661 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.3392, allocations: 328.8 kB / 0.5664 GB, free: 30.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.3394, allocations: 0.7295 MB / 0.5671 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.486e-05/0.3394, allocations: 18.81 kB / 0.5672 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.3395, allocations: 21.19 kB / 0.5672 GB, free: 29.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3395, allocations: 0 / 0.5672 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Templates: time 0.005027/0.3445, allocations: 2.159 MB / 0.5693 GB, free: 29.63 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)