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.0007519/0.000755, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008179/0.000818, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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.627/1.627, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005779/0.000578, allocations: 14.62 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2437, allocations: 116.3 MB / 0.7873 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002421/0.2461, allocations: 1.689 MB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2473, allocations: 0.5778 MB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2475, allocations: 4 kB / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.2476, allocations: 15.86 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.2477, allocations: 23.73 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.2481, allocations: 55.92 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.2483, allocations: 196 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2485, allocations: 86.11 kB / 0.7899 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2487, allocations: 59.66 kB / 0.7899 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2488, allocations: 79.59 kB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.2489, allocations: 4 kB / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-05/0.2489, allocations: 16 kB / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.249, allocations: 27.84 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.249, allocations: 57.58 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.2493, allocations: 199.8 kB / 0.7903 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2493, allocations: 0 / 0.7903 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2493, allocations: 0 / 0.7903 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2493, allocations: 0 / 0.7903 GB, free: 8.797 MB / 0.6075 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.0007235/0.25, allocations: 0.4907 MB / 0.7908 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2501, allocations: 8.031 kB / 0.7908 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.2502, allocations: 23.72 kB / 0.7908 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.2505, allocations: 267.2 kB / 0.7911 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2505, allocations: 12 kB / 0.7911 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.2506, allocations: 16 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.251, allocations: 221.5 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.251, allocations: 4 kB / 0.7913 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.2511, allocations: 12 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.2511, allocations: 4 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.2514, allocations: 147.6 kB / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.2524, allocations: 0.6091 MB / 0.7921 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.2528, allocations: 126.7 kB / 0.7922 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2529, allocations: 52.84 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.253, allocations: 0 / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.253, allocations: 38.52 kB / 0.7923 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.253, allocations: 7.938 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004598/0.2535, allocations: 177.6 kB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.2536, allocations: 136.5 kB / 0.7926 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.2538, allocations: 204.2 kB / 0.7928 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2538, allocations: 33.7 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2539, allocations: 144.2 kB / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.254, allocations: 35.55 kB / 0.793 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.254, allocations: 4 kB / 0.793 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2541, allocations: 330.8 kB / 0.7933 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.2542, allocations: 47.98 kB / 0.7933 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.2544, allocations: 88.27 kB / 0.7934 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2545, allocations: 47.92 kB / 0.7935 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2545, allocations: 0 / 0.7935 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003037/0.2548, allocations: 165.5 kB / 0.7936 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2548, allocations: 7.953 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2549, allocations: 0 / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2549, allocations: 3.938 kB / 0.7936 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.255, allocations: 19.98 kB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.255, allocations: 0 / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2551, allocations: 39.92 kB / 0.7937 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.2552, allocations: 3.984 kB / 0.7937 GB, free: 5.047 MB / 0.6075 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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.2553, allocations: 133.8 kB / 0.7938 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.2553, allocations: 15.81 kB / 0.7938 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.2557, allocations: 162.9 kB / 0.794 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2557, allocations: 7.969 kB / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2557, allocations: 0 / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2557, allocations: 0 / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.256, allocations: 270 kB / 0.7943 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.256, allocations: 3.938 kB / 0.7943 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.2561, allocations: 19.98 kB / 0.7943 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2561, allocations: 7.938 kB / 0.7943 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2561, allocations: 4 kB / 0.7943 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2561, allocations: 11.89 kB / 0.7943 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2561, allocations: 0 / 0.7943 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.2564, allocations: 235.2 kB / 0.7945 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.2565, allocations: 96.83 kB / 0.7946 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.2565, allocations: 8 kB / 0.7946 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2567, allocations: 27.97 kB / 0.7946 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.2567, allocations: 27.91 kB / 0.7947 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.2568, allocations: 7.984 kB / 0.7947 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001138/0.2569, allocations: 155.5 kB / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2569, allocations: 0 / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002715/0.2572, allocations: 39.84 kB / 0.7949 GB, free: 3.738 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.2573, allocations: 107.2 kB / 0.795 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.2576, allocations: 116 kB / 0.7951 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2576, allocations: 0 / 0.7951 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.2578, allocations: 63.91 kB / 0.7951 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2581, allocations: 16 kB / 0.7952 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.2587, allocations: 388.7 kB / 0.7955 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.259, allocations: 0.7283 MB / 0.7962 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.651e-05/0.2591, allocations: 21.42 kB / 0.7963 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.2591, allocations: 23.38 kB / 0.7963 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of SimCode: time 2.524e-06/0.2591, allocations: 0 / 0.7963 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.004699/0.2638, allocations: 1.818 MB / 0.7981 GB, free: 452 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: