Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.006901/0.006901, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001247/0.001247, allocations: 196.1 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6352, allocations: 104.7 MB / 0.828 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004219/0.6395, allocations: 2.028 MB / 0.83 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.6412, allocations: 0.6319 MB / 0.8306 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.6413, allocations: 0 / 0.8306 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.6415, allocations: 19.73 kB / 0.8307 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.6416, allocations: 35.59 kB / 0.8307 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.6422, allocations: 83.86 kB / 0.8308 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.6425, allocations: 228 kB / 0.831 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.6428, allocations: 107.6 kB / 0.8311 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.643, allocations: 99.56 kB / 0.8312 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.6432, allocations: 99.55 kB / 0.8313 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.6432, allocations: 28 kB / 0.8313 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.6433, allocations: 31.98 kB / 0.8313 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.6434, allocations: 59.77 kB / 0.8314 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.6436, allocations: 103.4 kB / 0.8315 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.644, allocations: 278.5 kB / 0.8318 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.644, allocations: 4 kB / 0.8318 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.884e-06/0.644, allocations: 0 / 0.8318 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.644, allocations: 0 / 0.8318 GB, free: 14.79 MB / 0.6387 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.0008897/0.6449, allocations: 0.5125 MB / 0.8323 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.645, allocations: 12.03 kB / 0.8323 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.645, allocations: 24.66 kB / 0.8323 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.6454, allocations: 257.3 kB / 0.8325 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.6454, allocations: 16.38 kB / 0.8326 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.6454, allocations: 16.38 kB / 0.8326 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.6459, allocations: 228.8 kB / 0.8328 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6459, allocations: 4 kB / 0.8328 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.6459, allocations: 4 kB / 0.8328 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.6459, allocations: 4 kB / 0.8328 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.6463, allocations: 139.9 kB / 0.8329 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.6472, allocations: 0.5932 MB / 0.8335 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.6476, allocations: 122.7 kB / 0.8336 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.6478, allocations: 56.84 kB / 0.8337 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.6478, allocations: 0 / 0.8337 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.6479, allocations: 34.69 kB / 0.8337 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.6479, allocations: 4 kB / 0.8337 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005163/0.6484, allocations: 169.4 kB / 0.8339 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6485, allocations: 132.5 kB / 0.834 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.6487, allocations: 218.9 kB / 0.8342 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.6488, allocations: 29.7 kB / 0.8343 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.6489, allocations: 140.2 kB / 0.8344 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.649, allocations: 31.55 kB / 0.8344 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.649, allocations: 41.7 kB / 0.8345 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6492, allocations: 322.8 kB / 0.8348 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.6493, allocations: 52.34 kB / 0.8348 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.6495, allocations: 84.27 kB / 0.8349 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.6497, allocations: 97.25 kB / 0.835 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6497, allocations: 0 / 0.835 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002991/0.65, allocations: 153.4 kB / 0.8351 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6501, allocations: 11.98 kB / 0.8351 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6501, allocations: 0 / 0.8351 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.6501, allocations: 48 / 0.8351 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.6502, allocations: 27.84 kB / 0.8352 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6502, allocations: 4 kB / 0.8352 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.6504, allocations: 27.77 kB / 0.8352 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.6504, allocations: 8 kB / 0.8352 GB, free: 10.99 MB / 0.6387 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.0001304/0.6505, allocations: 137.9 kB / 0.8353 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.6506, allocations: 15.81 kB / 0.8354 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.6509, allocations: 143 kB / 0.8355 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.651, allocations: 7.938 kB / 0.8355 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.651, allocations: 0 / 0.8355 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.651, allocations: 3.984 kB / 0.8355 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.6513, allocations: 277.4 kB / 0.8358 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6513, allocations: 4 kB / 0.8358 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.6514, allocations: 19.92 kB / 0.8358 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6514, allocations: 4 kB / 0.8358 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6514, allocations: 0 / 0.8358 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.6514, allocations: 3.938 kB / 0.8358 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6514, allocations: 0 / 0.8358 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.6518, allocations: 231.2 kB / 0.836 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.6518, allocations: 96.92 kB / 0.8361 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.6519, allocations: 0 / 0.8361 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.652, allocations: 27.91 kB / 0.8361 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.6521, allocations: 23.97 kB / 0.8362 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.6522, allocations: 3.984 kB / 0.8362 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001293/0.6523, allocations: 148.6 kB / 0.8363 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6523, allocations: 192 / 0.8363 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002817/0.6526, allocations: 39.84 kB / 0.8363 GB, free: 9.73 MB / 0.6387 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.0002187/0.6528, allocations: 120.2 kB / 0.8365 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.6532, allocations: 111.9 kB / 0.8366 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6532, allocations: 0 / 0.8366 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.6533, allocations: 55.92 kB / 0.8366 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.6538, allocations: 35.92 kB / 0.8367 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.6545, allocations: 313.2 kB / 0.837 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.6548, allocations: 0.7357 MB / 0.8377 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.094e-05/0.6549, allocations: 21.42 kB / 0.8377 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.655, allocations: 23.36 kB / 0.8377 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.655, allocations: 0 / 0.8377 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of Templates: time 0.005892/0.6609, allocations: 2.192 MB / 0.8399 GB, free: 6.121 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)