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.001652/0.001652, allocations: 108 kB / 15.61 MB, free: 152 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.002222/0.002222, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001781/0.001781, allocations: 73.31 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.203, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00339/0.2064, allocations: 2.021 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2075, allocations: 0.6087 MB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2076, allocations: 7.938 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.2078, allocations: 19.73 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.2079, allocations: 43.53 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2082, allocations: 83.91 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.2084, allocations: 224 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.2086, allocations: 112.3 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2088, allocations: 91.66 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.2089, allocations: 99.52 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.2089, allocations: 28 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.209, allocations: 35.98 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.2091, allocations: 55.78 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.2092, allocations: 111.3 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2095, allocations: 259.4 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2095, allocations: 4 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2095, allocations: 4 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2095, allocations: 0 / 0.7872 GB, free: 9.531 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.0007233/0.2102, allocations: 0.5219 MB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2103, allocations: 12.03 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.2103, allocations: 50.73 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.2104, allocations: 24.66 kB / 0.7878 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.2107, allocations: 248.5 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.2108, allocations: 20.36 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.2108, allocations: 16.38 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.2112, allocations: 225.8 kB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2113, allocations: 0 / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2113, allocations: 8 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2113, allocations: 8 kB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.2116, allocations: 139.7 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.2126, allocations: 0.5974 MB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.2129, allocations: 118.7 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2131, allocations: 52.83 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.2131, allocations: 7.984 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2132, allocations: 34.75 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 4.348e-06/0.2132, allocations: 0 / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004727/0.2136, allocations: 173.3 kB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.2137, allocations: 132.5 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.214, allocations: 214.9 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.2141, allocations: 33.7 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2142, allocations: 144.2 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.2142, allocations: 31.92 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.2143, allocations: 37.7 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2145, allocations: 326.8 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2146, allocations: 47.97 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.2148, allocations: 91.33 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.215, allocations: 89.62 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.215, allocations: 0 / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002995/0.2153, allocations: 149.5 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2153, allocations: 8.781 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2153, allocations: 4.031 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2153, allocations: 3.938 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2154, allocations: 23.86 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2155, allocations: 4 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.2156, allocations: 31.81 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2157, allocations: 4 kB / 0.7907 GB, free: 5.66 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.0001292/0.2158, allocations: 140.5 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.2158, allocations: 15.81 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.2162, allocations: 143 kB / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2162, allocations: 7.984 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2162, allocations: 3.984 kB / 0.791 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2162, allocations: 0 / 0.791 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.2165, allocations: 269.5 kB / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2165, allocations: 0 / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-05/0.2166, allocations: 19.92 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2166, allocations: 4 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2166, allocations: 7.984 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2166, allocations: 3.938 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2166, allocations: 0 / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.217, allocations: 231.2 kB / 0.7915 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.217, allocations: 88.92 kB / 0.7916 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.2171, allocations: 8 kB / 0.7916 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2173, allocations: 27.91 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.2173, allocations: 24.16 kB / 0.7916 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2174, allocations: 0 / 0.7916 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001483/0.2175, allocations: 168.4 kB / 0.7918 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2175, allocations: 0 / 0.7918 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002707/0.2178, allocations: 35.84 kB / 0.7918 GB, free: 4.391 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.000679/0.2185, allocations: 0.7747 MB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.2188, allocations: 111.9 kB / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2188, allocations: 0 / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.219, allocations: 59.97 kB / 0.7927 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2193, allocations: 22.38 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.2215, allocations: 1.998 MB / 0.7947 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.2218, allocations: 0.728 MB / 0.7954 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.297e-05/0.2219, allocations: 17.7 kB / 0.7954 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.222, allocations: 63.41 kB / 0.7955 GB, free: 500 kB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.222, allocations: 0 / 0.7955 GB, free: 500 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.2417, allocations: 3.963 MB / 0.7994 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.978, allocations: 7 kB / 0.7994 GB, free: 12.66 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)