Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001197/0.001197, allocations: 100.1 kB / 16.29 MB, free: 6.008 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.001198/0.001198, allocations: 182.2 kB / 17.22 MB, free: 5.617 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.44/1.44, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.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.00141/0.00141, allocations: 67.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2167, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003817/0.2205, allocations: 2.039 MB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2218, allocations: 0.6202 MB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2219, allocations: 4 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.2221, allocations: 19.73 kB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.2222, allocations: 35.59 kB / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.2225, allocations: 71.92 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.2228, allocations: 231.9 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.223, allocations: 111.6 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2231, allocations: 91.62 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2233, allocations: 99.55 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.2233, allocations: 24 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.2234, allocations: 31.98 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.2235, allocations: 63.7 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.238e-05/0.2236, allocations: 107.5 kB / 0.7875 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3819/0.6055, allocations: 277.3 kB / 0.7878 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.6055, allocations: 0.7812 kB / 0.7878 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6056, allocations: 0 / 0.7878 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.244e-05/0.6056, allocations: 0.875 kB / 0.7878 GB, free: 46.55 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.0008551/0.6064, allocations: 0.5162 MB / 0.7883 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.6065, allocations: 10.5 kB / 0.7883 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.6066, allocations: 26.5 kB / 0.7883 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.6069, allocations: 250.9 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6069, allocations: 14.72 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.607, allocations: 21.38 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.6074, allocations: 223.3 kB / 0.7888 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6074, allocations: 3.938 kB / 0.7888 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.6074, allocations: 8.062 kB / 0.7888 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.6074, allocations: 5.25 kB / 0.7888 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.6077, allocations: 141.8 kB / 0.789 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.6086, allocations: 0.5939 MB / 0.7896 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.6089, allocations: 120.4 kB / 0.7897 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.907e-05/0.609, allocations: 48.36 kB / 0.7897 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.6091, allocations: 4.781 kB / 0.7897 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.6091, allocations: 37.06 kB / 0.7898 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.6091, allocations: 0 / 0.7898 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004057/0.6095, allocations: 168.2 kB / 0.7899 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.6096, allocations: 135.6 kB / 0.79 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.6097, allocations: 217 kB / 0.7903 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.6098, allocations: 34.2 kB / 0.7903 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.6099, allocations: 141.8 kB / 0.7904 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.6099, allocations: 36.45 kB / 0.7905 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.6099, allocations: 34.75 kB / 0.7905 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6e-05/0.61, allocations: 333.8 kB / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.6101, allocations: 49.67 kB / 0.7909 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.6102, allocations: 92.12 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.6104, allocations: 83.52 kB / 0.791 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6104, allocations: 0 / 0.791 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002621/0.6107, allocations: 162.3 kB / 0.7912 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6107, allocations: 5.25 kB / 0.7912 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6107, allocations: 0 / 0.7912 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.6108, allocations: 0 / 0.7912 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.6109, allocations: 16.97 kB / 0.7912 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.6109, allocations: 10.72 kB / 0.7912 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.611, allocations: 29.66 kB / 0.7912 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.611, allocations: 5.875 kB / 0.7912 GB, free: 44.59 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.0001019/0.6111, allocations: 132.1 kB / 0.7914 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.6112, allocations: 19.78 kB / 0.7914 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.6116, allocations: 146.1 kB / 0.7915 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6116, allocations: 1.906 kB / 0.7915 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6116, allocations: 3.938 kB / 0.7915 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6117, allocations: 1.469 kB / 0.7915 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.6119, allocations: 268.1 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6119, allocations: 1.219 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.612, allocations: 14.8 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.612, allocations: 0.5 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.6121, allocations: 7.172 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6121, allocations: 1.5 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6121, allocations: 4.938 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.6123, allocations: 230.2 kB / 0.792 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.6124, allocations: 95.45 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.6124, allocations: 6.875 kB / 0.7921 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.6126, allocations: 20.12 kB / 0.7922 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.6127, allocations: 31.84 kB / 0.7922 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.6127, allocations: 6.391 kB / 0.7922 GB, free: 44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001384/0.6128, allocations: 152.5 kB / 0.7923 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6128, allocations: 0 / 0.7923 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002995/0.6132, allocations: 39.91 kB / 0.7924 GB, free: 43.91 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.0002081/0.6134, allocations: 115.7 kB / 0.7925 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.6137, allocations: 118.9 kB / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6137, allocations: 0 / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.6138, allocations: 55.83 kB / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.6143, allocations: 21.64 kB / 0.7927 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.6149, allocations: 320.5 kB / 0.793 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.6152, allocations: 0.7316 MB / 0.7937 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.363e-05/0.6152, allocations: 17.22 kB / 0.7937 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.6153, allocations: 24.67 kB / 0.7937 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6153, allocations: 3.5 kB / 0.7937 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.0396/0.6549, allocations: 2.164 MB / 0.7958 GB, free: 42.87 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)