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.001214/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001361/0.001361, allocations: 194 kB / 16.14 MB, free: 6.688 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.23 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3518, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004537/0.3564, allocations: 2.087 MB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3579, allocations: 0.5532 MB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.358, allocations: 7.938 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.3582, allocations: 15.86 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.3583, allocations: 27.78 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.3587, allocations: 63.89 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.3589, allocations: 216 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.3592, allocations: 111.6 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.3594, allocations: 79.64 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3596, allocations: 91.53 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.3596, allocations: 12 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.3597, allocations: 19.94 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.3598, allocations: 47.77 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3599, allocations: 95.39 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.3602, allocations: 255.4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3603, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3603, allocations: 4 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3603, allocations: 4 kB / 1.071 GB, free: 7.211 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.0008771/0.3612, allocations: 0.5101 MB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3612, allocations: 12.03 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.009e-05/0.3613, allocations: 28.59 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.3616, allocations: 260.6 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3617, allocations: 16.38 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.3617, allocations: 16.38 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.3621, allocations: 229 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3621, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.3622, allocations: 8 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3622, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.3625, allocations: 143.9 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.3634, allocations: 0.5896 MB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.3638, allocations: 122.7 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3639, allocations: 44.84 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.364, allocations: 4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.364, allocations: 38.69 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.364, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004668/0.3645, allocations: 169.4 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.3646, allocations: 140.5 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.3648, allocations: 203.3 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3648, allocations: 33.7 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3649, allocations: 152.1 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.365, allocations: 28.02 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.365, allocations: 33.7 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3652, allocations: 330.8 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3653, allocations: 47.98 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3655, allocations: 88.2 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3657, allocations: 93.62 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3657, allocations: 4 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003127/0.366, allocations: 160.5 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.366, allocations: 4 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3661, allocations: 0 / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3661, allocations: 4 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3662, allocations: 27.86 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3662, allocations: 0 / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3663, allocations: 23.97 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3664, allocations: 4.031 kB / 1.075 GB, free: 3.41 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.0001354/0.3665, allocations: 144.2 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.3666, allocations: 19.72 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.3669, allocations: 150.9 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.3669, allocations: 3.938 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3669, allocations: 48 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.367, allocations: 7.984 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.3672, allocations: 269.5 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3673, allocations: 0 / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3674, allocations: 19.92 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3674, allocations: 0 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3674, allocations: 0 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3674, allocations: 7.938 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3674, allocations: 0 / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.3677, allocations: 231.2 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.3678, allocations: 88.92 kB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.3678, allocations: 11.98 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.368, allocations: 19.92 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.3681, allocations: 24.14 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3681, allocations: 4 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001301/0.3682, allocations: 160.1 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 0 / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002847/0.3685, allocations: 47.84 kB / 1.076 GB, free: 2.129 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.0001773/0.3687, allocations: 107.2 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.3691, allocations: 107.9 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3691, allocations: 0 / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3692, allocations: 55.91 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3696, allocations: 20.06 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.3703, allocations: 394.7 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3706, allocations: 0.7285 MB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.763e-05/0.3707, allocations: 25.41 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.3708, allocations: 15.44 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3708, allocations: 4 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.005298/0.3761, allocations: 1.899 MB / 1.079 GB, free: 14.77 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)