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.001222/0.001222, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 187.2 kB / 16.62 MB, free: 6.582 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.874/1.874, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00244/0.00244, allocations: 70.89 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2625, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003203/0.2657, allocations: 2.036 MB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2668, allocations: 0.597 MB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.2669, allocations: 4 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2671, allocations: 23.67 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.2672, allocations: 39.59 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.2675, allocations: 83.89 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.2677, allocations: 227.9 kB / 0.7871 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.268, allocations: 116.3 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2682, allocations: 91.62 kB / 0.7873 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2683, allocations: 99.53 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2684, allocations: 24 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.2685, allocations: 32 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.2685, allocations: 59.83 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.2686, allocations: 107.4 kB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.269, allocations: 283 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.269, allocations: 0 / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.269, allocations: 0 / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.269, allocations: 0 / 0.7878 GB, free: 8.91 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.0007378/0.2697, allocations: 0.5217 MB / 0.7883 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2698, allocations: 12.03 kB / 0.7884 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.2698, allocations: 24.66 kB / 0.7884 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.2702, allocations: 252.7 kB / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2702, allocations: 16.38 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.2702, allocations: 20.38 kB / 0.7887 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.2706, allocations: 229.8 kB / 0.7889 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2707, allocations: 7.875 kB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2707, allocations: 4 kB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2707, allocations: 4 kB / 0.7889 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.271, allocations: 139.9 kB / 0.789 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009419/0.272, allocations: 0.5896 MB / 0.7896 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.2723, allocations: 118.7 kB / 0.7897 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2724, allocations: 44.84 kB / 0.7898 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.2725, allocations: 8 kB / 0.7898 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.2725, allocations: 38.55 kB / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2725, allocations: 0 / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004487/0.273, allocations: 165.6 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.2731, allocations: 132.5 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.2733, allocations: 215.2 kB / 0.7903 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2733, allocations: 33.69 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2734, allocations: 152.2 kB / 0.7905 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2734, allocations: 23.66 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.2735, allocations: 33.7 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2736, allocations: 330.8 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2738, allocations: 47.92 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.2739, allocations: 95.62 kB / 0.791 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.2741, allocations: 85.69 kB / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2742, allocations: 0 / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003091/0.2745, allocations: 161.3 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2745, allocations: 4 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2745, allocations: 8.016 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2745, allocations: 3.938 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2746, allocations: 27.86 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2747, allocations: 0 / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.2748, allocations: 27.81 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.2748, allocations: 8.375 kB / 0.7913 GB, free: 5.098 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 (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.0001211/0.275, allocations: 133.9 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.275, allocations: 19.8 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.2754, allocations: 154.9 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2754, allocations: 3.938 kB / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2754, allocations: 0 / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2754, allocations: 0 / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.2757, allocations: 265.5 kB / 0.7918 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2757, allocations: 0 / 0.7918 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2759, allocations: 15.98 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2759, allocations: 4 kB / 0.7919 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2759, allocations: 4 kB / 0.7919 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2759, allocations: 3.938 kB / 0.7919 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2759, allocations: 7.922 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.2763, allocations: 223.3 kB / 0.7921 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.2763, allocations: 92.91 kB / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.2764, allocations: 8 kB / 0.7922 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.2765, allocations: 27.92 kB / 0.7922 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2767, allocations: 27.89 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.2767, allocations: 4 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001503/0.2768, allocations: 152.2 kB / 0.7924 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2768, allocations: 0 / 0.7924 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002978/0.2771, allocations: 39.84 kB / 0.7924 GB, free: 3.836 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 (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.0002286/0.2774, allocations: 125.9 kB / 0.7925 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.2777, allocations: 103.9 kB / 0.7926 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2777, allocations: 192 / 0.7926 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.2779, allocations: 63.84 kB / 0.7927 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.2783, allocations: 16 kB / 0.7927 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.279, allocations: 336.9 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.2794, allocations: 0.728 MB / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.888e-05/0.2795, allocations: 17.42 kB / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.2796, allocations: 27.42 kB / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2796, allocations: 0 / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.00534/0.2849, allocations: 2.17 MB / 0.7959 GB, free: 232 kB / 0.6075 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)