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.007023/0.007023, allocations: 101.6 kB / 15.73 MB, free: 6.492 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.001483/0.001483, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.5/1.5, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.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.536/1.536, allocations: 251.7 MB / 0.5094 GB, free: 3.082 MB / 414.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.001646/0.001646, allocations: 71.89 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2034, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003555/0.207, allocations: 2.044 MB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2084, allocations: 0.6163 MB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.2086, allocations: 4 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.2088, allocations: 19.73 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2089, allocations: 43.59 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.2093, allocations: 75.84 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.2096, allocations: 224 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.2099, allocations: 119.5 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.21, allocations: 99.58 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2102, allocations: 95.53 kB / 0.8313 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.2103, allocations: 27.94 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.2104, allocations: 39.98 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.2105, allocations: 51.84 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2106, allocations: 107.5 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.2109, allocations: 271 kB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.211, allocations: 0 / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.211, allocations: 0 / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.211, allocations: 4 kB / 0.8318 GB, free: 12.36 MB / 0.6544 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.0008886/0.2119, allocations: 0.518 MB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2119, allocations: 8.031 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.212, allocations: 24.66 kB / 0.8323 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.2124, allocations: 248.8 kB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2124, allocations: 16.38 kB / 0.8326 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.2124, allocations: 24.31 kB / 0.8326 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.2129, allocations: 228.9 kB / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2129, allocations: 0 / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.2129, allocations: 4 kB / 0.8328 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2129, allocations: 8 kB / 0.8328 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2132, allocations: 147.9 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.2142, allocations: 0.5893 MB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.2146, allocations: 118.8 kB / 0.8336 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2147, allocations: 60.89 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.2148, allocations: 0 / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.2148, allocations: 38.56 kB / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.2148, allocations: 0 / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004585/0.2153, allocations: 173.4 kB / 0.8339 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.2153, allocations: 132.5 kB / 0.834 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.2155, allocations: 210.9 kB / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2156, allocations: 33.7 kB / 0.8343 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2157, allocations: 144.2 kB / 0.8344 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2157, allocations: 35.55 kB / 0.8344 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.2158, allocations: 33.7 kB / 0.8345 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2159, allocations: 330.8 kB / 0.8348 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.216, allocations: 47.97 kB / 0.8348 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2162, allocations: 88.27 kB / 0.8349 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2164, allocations: 90.75 kB / 0.835 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2164, allocations: 4 kB / 0.835 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003193/0.2167, allocations: 151.5 kB / 0.8351 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2168, allocations: 4 kB / 0.8351 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2168, allocations: 0 / 0.8351 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.2168, allocations: 4 kB / 0.8352 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.2169, allocations: 23.92 kB / 0.8352 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2169, allocations: 0 / 0.8352 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.2171, allocations: 31.84 kB / 0.8352 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2171, allocations: 4 kB / 0.8352 GB, free: 8.562 MB / 0.6544 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.0001226/0.2172, allocations: 133.8 kB / 0.8353 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.2173, allocations: 27.8 kB / 0.8354 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.2177, allocations: 139 kB / 0.8355 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2177, allocations: 8.406 kB / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2177, allocations: 0 / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2177, allocations: 0 / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.218, allocations: 269.6 kB / 0.8358 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.218, allocations: 3.984 kB / 0.8358 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.2181, allocations: 23.86 kB / 0.8358 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2181, allocations: 0 / 0.8358 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2181, allocations: 3.984 kB / 0.8358 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2181, allocations: 7.938 kB / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2181, allocations: 0 / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.2185, allocations: 235.2 kB / 0.836 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.2185, allocations: 92.86 kB / 0.8361 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.2186, allocations: 8 kB / 0.8361 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.2187, allocations: 27.91 kB / 0.8361 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.2188, allocations: 19.97 kB / 0.8362 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.2188, allocations: 8 kB / 0.8362 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001201/0.219, allocations: 151.2 kB / 0.8363 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.219, allocations: 0 / 0.8363 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000286/0.2193, allocations: 39.91 kB / 0.8364 GB, free: 7.289 MB / 0.6544 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.0001703/0.2195, allocations: 114 kB / 0.8365 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.2198, allocations: 111.9 kB / 0.8366 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2198, allocations: 4.062 kB / 0.8366 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.2199, allocations: 51.97 kB / 0.8366 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.2203, allocations: 27.81 kB / 0.8367 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.221, allocations: 325.4 kB / 0.837 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.2213, allocations: 0.7357 MB / 0.8377 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.377e-05/0.2214, allocations: 17.41 kB / 0.8377 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.2214, allocations: 19.44 kB / 0.8377 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.2214, allocations: 4 kB / 0.8377 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of Templates: time 0.005609/0.2271, allocations: 2.185 MB / 0.8399 GB, free: 3.695 MB / 0.6544 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)