Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.846/1.846, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 192.9 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009054/0.0009053, allocations: 94.27 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 11.5 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2086, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00185/0.2104, allocations: 1.666 MB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007495/0.2112, allocations: 0.5815 MB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.2113, allocations: 0 / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.88e-05/0.2114, allocations: 11.86 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.213e-05/0.2115, allocations: 35.88 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.2117, allocations: 51.94 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2118, allocations: 132.3 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.212, allocations: 79.44 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.424e-05/0.2121, allocations: 67.7 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.2122, allocations: 67.62 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.2122, allocations: 8 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.2123, allocations: 19.86 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.2123, allocations: 27.91 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.2124, allocations: 57.58 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.2125, allocations: 203.8 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2125, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2125, allocations: 4 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2125, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 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.0005653/0.2131, allocations: 494.5 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2132, allocations: 12.02 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.2132, allocations: 58.55 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.2133, allocations: 27.66 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.2135, allocations: 255.4 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2135, allocations: 12 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.2136, allocations: 16 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.2139, allocations: 224.8 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2139, allocations: 0 / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2139, allocations: 12 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.214, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.2142, allocations: 152.3 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.215, allocations: 0.6013 MB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.2153, allocations: 130.7 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.2153, allocations: 4 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2153, allocations: 38.52 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.2154, allocations: 0 / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003993/0.2158, allocations: 185.5 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2158, allocations: 132.5 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2159, allocations: 210.9 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.216, allocations: 29.7 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.216, allocations: 144.2 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2161, allocations: 43.47 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.2161, allocations: 0 / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.2161, allocations: 326.8 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2162, allocations: 51.97 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2164, allocations: 92.27 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.806e-05/0.2165, allocations: 45.67 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2165, allocations: 0 / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002578/0.2167, allocations: 161.5 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2168, allocations: 7.953 kB / 0.9857 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2168, allocations: 3.938 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2168, allocations: 4 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2169, allocations: 23.98 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2169, allocations: 4 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2171, allocations: 35.91 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.2171, allocations: 4 kB / 0.9858 GB, free: 20.84 MB / 0.6198 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 8.977e-05/0.2172, allocations: 137.8 kB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.2172, allocations: 15.81 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.2175, allocations: 162.9 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2175, allocations: 0 / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2175, allocations: 0 / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2175, allocations: 0 / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.2177, allocations: 269.5 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2177, allocations: 480 / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/0.2178, allocations: 19.98 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2179, allocations: 0 / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2179, allocations: 4 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2179, allocations: 3.953 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2179, allocations: 3.938 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.2181, allocations: 239.2 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.2182, allocations: 104.9 kB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2182, allocations: 4 kB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.2184, allocations: 23.98 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.2185, allocations: 27.91 kB / 0.9868 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2185, allocations: 11.92 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.141e-05/0.2186, allocations: 152.7 kB / 0.9869 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2186, allocations: 4 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002502/0.2188, allocations: 39.84 kB / 0.987 GB, free: 19.54 MB / 0.6198 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.0004493/0.2193, allocations: 0.7786 MB / 0.9877 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.2195, allocations: 119.9 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2196, allocations: 0 / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.2197, allocations: 59.97 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2199, allocations: 25.89 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.2213, allocations: 1.212 MB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2214, allocations: 0.7475 MB / 0.9899 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.135e-05/0.2215, allocations: 17.42 kB / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.2216, allocations: 63.41 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.2216, allocations: 0 / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.236, allocations: 3.692 MB / 0.9935 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.2361, allocations: 231.3 kB / 0.9938 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.955, allocations: 0 / 0.9938 GB, free: 12.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)