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.001386/0.001386, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001273/0.001273, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001468/0.001468, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00346/0.2483, allocations: 2.035 MB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2495, allocations: 0.6008 MB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.2496, allocations: 7.938 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.2498, allocations: 27.66 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.2499, allocations: 39.61 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.2502, allocations: 83.89 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.2504, allocations: 228 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.2507, allocations: 107.6 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.6921, allocations: 83.53 kB / 0.7879 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.6923, allocations: 105.5 kB / 0.788 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.6923, allocations: 26.12 kB / 0.788 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.523e-05/0.6924, allocations: 33.97 kB / 0.7881 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.6925, allocations: 58.86 kB / 0.7881 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.6926, allocations: 103.6 kB / 0.7882 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.693, allocations: 280.1 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.693, allocations: 0 / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.693, allocations: 0 / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.693, allocations: 0 / 0.7885 GB, free: 46.64 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.0007111/0.6937, allocations: 0.5156 MB / 0.789 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6938, allocations: 11.19 kB / 0.789 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.6938, allocations: 24.81 kB / 0.789 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.6941, allocations: 253.8 kB / 0.7893 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6941, allocations: 13.53 kB / 0.7893 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.6942, allocations: 18.81 kB / 0.7893 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.6945, allocations: 224.9 kB / 0.7895 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6946, allocations: 8.781 kB / 0.7895 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.6946, allocations: 9.922 kB / 0.7895 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6946, allocations: 5.25 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.6949, allocations: 139.6 kB / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.6957, allocations: 0.5881 MB / 0.7903 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.696, allocations: 119.9 kB / 0.7904 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6961, allocations: 50.55 kB / 0.7904 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.6962, allocations: 6.562 kB / 0.7904 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.6962, allocations: 34.97 kB / 0.7905 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.6962, allocations: 0.5 kB / 0.7905 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004349/0.6967, allocations: 174.1 kB / 0.7906 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.6967, allocations: 135 kB / 0.7908 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.6969, allocations: 217.8 kB / 0.791 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.6969, allocations: 29.61 kB / 0.791 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.697, allocations: 145 kB / 0.7911 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.6971, allocations: 36.44 kB / 0.7912 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.6971, allocations: 37.22 kB / 0.7912 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.6972, allocations: 327.5 kB / 0.7915 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.6973, allocations: 46.36 kB / 0.7916 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.6974, allocations: 87.78 kB / 0.7916 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.6976, allocations: 86.02 kB / 0.7917 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6976, allocations: 1.344 kB / 0.7917 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002859/0.6979, allocations: 158.4 kB / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.698, allocations: 6.031 kB / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.698, allocations: 0 / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.698, allocations: 3.953 kB / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6981, allocations: 24.77 kB / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.6981, allocations: 6.562 kB / 0.7919 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.6983, allocations: 28.48 kB / 0.7919 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.6983, allocations: 2.625 kB / 0.7919 GB, free: 44.67 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.0001157/0.6984, allocations: 142 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.6985, allocations: 20.53 kB / 0.7921 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.6988, allocations: 142.3 kB / 0.7922 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6988, allocations: 2.625 kB / 0.7922 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6988, allocations: 4.531 kB / 0.7922 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6988, allocations: 3.688 kB / 0.7922 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.6991, allocations: 269 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6991, allocations: 3.75 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.6992, allocations: 14.12 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6992, allocations: 0.5 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6992, allocations: 7.125 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6992, allocations: 3.469 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6992, allocations: 7.875 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.6995, allocations: 224.1 kB / 0.7928 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.6995, allocations: 100.4 kB / 0.7928 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.6996, allocations: 5.062 kB / 0.7929 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.6997, allocations: 20.77 kB / 0.7929 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.6998, allocations: 29.86 kB / 0.7929 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.6998, allocations: 8.734 kB / 0.7929 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001058/0.6999, allocations: 145.3 kB / 0.793 GB, free: 44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6999, allocations: 0 / 0.793 GB, free: 44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002656/0.7002, allocations: 40.94 kB / 0.7931 GB, free: 43.99 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.0001602/0.7004, allocations: 113.9 kB / 0.7932 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.7007, allocations: 108.5 kB / 0.7933 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7007, allocations: 3.375 kB / 0.7933 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.7008, allocations: 56.44 kB / 0.7934 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.7012, allocations: 19.66 kB / 0.7934 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.7017, allocations: 355.7 kB / 0.7937 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.7019, allocations: 0.7303 MB / 0.7944 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.702, allocations: 22.28 kB / 0.7944 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.702, allocations: 2.625 kB / 0.7944 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.00413/0.7061, allocations: 2.37 MB / 0.7968 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)