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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 105.4 kB / 15.7 MB, free: 28 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.001275/0.001275, allocations: 191.6 kB / 16.64 MB, free: 6.453 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.253/1.253, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.611/1.611, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001552/0.001552, allocations: 73.72 kB / 0.6718 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2023, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003423/0.2058, allocations: 2.04 MB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.207, allocations: 0.6087 MB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.2072, allocations: 0 / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.2073, allocations: 27.72 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2074, allocations: 35.61 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.2078, allocations: 91.83 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.208, allocations: 220 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.2083, allocations: 111.6 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.2084, allocations: 83.66 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.2086, allocations: 107.5 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.2086, allocations: 24 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.2087, allocations: 32 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.2088, allocations: 63.7 kB / 0.787 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2089, allocations: 99.47 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.2092, allocations: 283.2 kB / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2092, allocations: 0 / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2093, allocations: 0 / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.2093, allocations: 0 / 0.7874 GB, free: 9.41 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.0008237/0.2101, allocations: 0.5257 MB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2102, allocations: 8.031 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.2102, allocations: 50.73 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.2103, allocations: 28.66 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.2106, allocations: 252.7 kB / 0.7882 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2106, allocations: 8.375 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.2107, allocations: 20.38 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.2111, allocations: 229.5 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2111, allocations: 0 / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.2111, allocations: 12 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2111, allocations: 4 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.2114, allocations: 135.9 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.2123, allocations: 0.5934 MB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.2127, allocations: 118.7 kB / 0.7893 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2128, allocations: 53.02 kB / 0.7893 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.2129, allocations: 11.92 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.2129, allocations: 34.56 kB / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.2129, allocations: 0 / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004528/0.2134, allocations: 165.3 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.2135, allocations: 144.5 kB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2136, allocations: 211.2 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.2137, allocations: 33.7 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.2138, allocations: 140.2 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.2138, allocations: 35.55 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.2139, allocations: 33.7 kB / 0.7901 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.214, allocations: 326.8 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2142, allocations: 51.97 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.2143, allocations: 87.52 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.2145, allocations: 89.62 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2145, allocations: 0 / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003045/0.2148, allocations: 157.4 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2149, allocations: 4 kB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2149, allocations: 0 / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2149, allocations: 7.938 kB / 0.7908 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.215, allocations: 15.98 kB / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.215, allocations: 0 / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2152, allocations: 35.81 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.2152, allocations: 8.031 kB / 0.7909 GB, free: 5.543 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.0001274/0.2153, allocations: 133.8 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.2154, allocations: 19.81 kB / 0.791 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.2157, allocations: 147.3 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2157, allocations: 7.875 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2157, allocations: 0 / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2157, allocations: 0 / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.216, allocations: 273.5 kB / 0.7914 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.216, allocations: 0 / 0.7914 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.2161, allocations: 19.98 kB / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2161, allocations: 0 / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2162, allocations: 7.984 kB / 0.7914 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2162, allocations: 3.938 kB / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2162, allocations: 0 / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.2165, allocations: 231.3 kB / 0.7917 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.2166, allocations: 92.91 kB / 0.7917 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.2166, allocations: 11.94 kB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2167, allocations: 23.91 kB / 0.7918 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.2168, allocations: 19.97 kB / 0.7918 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2168, allocations: 4 kB / 0.7918 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001172/0.217, allocations: 160.2 kB / 0.792 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.217, allocations: 0 / 0.792 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000263/0.2172, allocations: 47.83 kB / 0.792 GB, free: 4.266 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.0006335/0.2179, allocations: 0.7633 MB / 0.7927 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.2182, allocations: 115.8 kB / 0.7929 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.2182, allocations: 4 kB / 0.7929 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.2183, allocations: 51.91 kB / 0.7929 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2187, allocations: 19.94 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.221, allocations: 2.002 MB / 0.7949 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2213, allocations: 0.728 MB / 0.7956 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.602e-05/0.2214, allocations: 17.42 kB / 0.7956 GB, free: 444 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2215, allocations: 63.41 kB / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2216, allocations: 0 / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.2438, allocations: 3.979 MB / 0.7996 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.436, allocations: 7.188 kB / 0.7996 GB, free: 12.55 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)