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.001096/0.001096, allocations: 105.6 kB / 16.36 MB, free: 6.012 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.001453/0.001453, allocations: 192.1 kB / 17.3 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.364/1.364, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.746/1.746, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001443/0.001443, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2201, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003153/0.2232, allocations: 2.042 MB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2243, allocations: 0.6086 MB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.2244, allocations: 4 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2245, allocations: 23.73 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.2246, allocations: 31.61 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2249, allocations: 91.84 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.2251, allocations: 220 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.2253, allocations: 107.6 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.346/0.5713, allocations: 90.08 kB / 0.7879 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.5715, allocations: 99.28 kB / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.5715, allocations: 25.12 kB / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.5716, allocations: 39.88 kB / 0.7881 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.5717, allocations: 55.83 kB / 0.7881 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.5717, allocations: 104.7 kB / 0.7882 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.572, allocations: 279.6 kB / 0.7885 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.572, allocations: 0 / 0.7885 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5721, allocations: 2.969 kB / 0.7885 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5721, allocations: 0 / 0.7885 GB, free: 47.1 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.0006286/0.5727, allocations: 0.5146 MB / 0.789 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.5727, allocations: 11.06 kB / 0.789 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.5728, allocations: 26.02 kB / 0.789 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.573, allocations: 255.6 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5731, allocations: 15.47 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.5731, allocations: 20.56 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.5734, allocations: 227.4 kB / 0.7895 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5734, allocations: 3.938 kB / 0.7895 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.5735, allocations: 4.75 kB / 0.7895 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5735, allocations: 7.625 kB / 0.7896 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.5737, allocations: 139.2 kB / 0.7897 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.5745, allocations: 0.592 MB / 0.7903 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.5748, allocations: 119.1 kB / 0.7904 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.5749, allocations: 46.73 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.5749, allocations: 7.156 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.575, allocations: 34.09 kB / 0.7905 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.575, allocations: 0.6562 kB / 0.7905 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003959/0.5754, allocations: 171.6 kB / 0.7906 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5754, allocations: 133 kB / 0.7908 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.5756, allocations: 220.9 kB / 0.791 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.5756, allocations: 32.89 kB / 0.791 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.5757, allocations: 144 kB / 0.7911 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.5757, allocations: 34.14 kB / 0.7912 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.5758, allocations: 33.95 kB / 0.7912 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.5758, allocations: 332.9 kB / 0.7915 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.5759, allocations: 47.47 kB / 0.7916 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.576, allocations: 87.2 kB / 0.7916 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.5762, allocations: 90.53 kB / 0.7917 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5762, allocations: 2.625 kB / 0.7917 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002685/0.5765, allocations: 149.6 kB / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5765, allocations: 5.25 kB / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5765, allocations: 0.5469 kB / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5766, allocations: 0 / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5767, allocations: 21.55 kB / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5767, allocations: 9.719 kB / 0.7919 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.5768, allocations: 31.42 kB / 0.7919 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.5768, allocations: 3.25 kB / 0.7919 GB, free: 45.12 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 8.57e-05/0.5769, allocations: 135.8 kB / 0.7921 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.577, allocations: 19.91 kB / 0.7921 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.5773, allocations: 145.6 kB / 0.7922 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5773, allocations: 2.734 kB / 0.7922 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5773, allocations: 7.5 kB / 0.7922 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5773, allocations: 0.5 kB / 0.7922 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.5775, allocations: 265.7 kB / 0.7925 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5775, allocations: 1 kB / 0.7925 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.5776, allocations: 21.83 kB / 0.7925 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5776, allocations: 0.6875 kB / 0.7925 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5776, allocations: 5.391 kB / 0.7925 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5776, allocations: 6.281 kB / 0.7925 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5776, allocations: 3.938 kB / 0.7925 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.5779, allocations: 223.5 kB / 0.7927 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.5779, allocations: 98.72 kB / 0.7928 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.578, allocations: 14.88 kB / 0.7928 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.5781, allocations: 16.2 kB / 0.7929 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.5782, allocations: 33.2 kB / 0.7929 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.5782, allocations: 3.156 kB / 0.7929 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.5783, allocations: 150.5 kB / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5783, allocations: 0 / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002587/0.5786, allocations: 39.62 kB / 0.7931 GB, free: 44.45 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.0001126/0.5787, allocations: 123.4 kB / 0.7932 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.5789, allocations: 113 kB / 0.7933 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.579, allocations: 0 / 0.7933 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.5791, allocations: 54.52 kB / 0.7934 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.5794, allocations: 22.94 kB / 0.7934 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.5799, allocations: 319.3 kB / 0.7937 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.58, allocations: 0.7313 MB / 0.7944 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.32e-05/0.5801, allocations: 18.02 kB / 0.7944 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.5801, allocations: 22.17 kB / 0.7944 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.5801, allocations: 3.406 kB / 0.7944 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.004358/0.5845, allocations: 2.16 MB / 0.7966 GB, free: 43.39 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)