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.731/1.731, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001205/0.001205, allocations: 176.9 kB / 361.4 MB, free: 6.863 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.885/1.885, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 92.02 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.817e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7198/0.7199, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.9268, allocations: 140.3 MB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.9272, allocations: 87.94 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009096/0.9363, allocations: 3.269 MB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9363, allocations: 0 / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.9364, allocations: 4 kB / 1.105 GB, free: 12.14 MB / 0.7136 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.0007185/0.9371, allocations: 489 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.9371, allocations: 8.031 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.9372, allocations: 28.75 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.9376, allocations: 235.5 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.9376, allocations: 11.98 kB / 1.106 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.9376, allocations: 12 kB / 1.106 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002606/0.9379, allocations: 108 kB / 1.106 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.9382, allocations: 180.6 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9383, allocations: 3.984 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.9383, allocations: 4 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.9383, allocations: 4 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.9393, allocations: 0.5518 MB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.9397, allocations: 114.7 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.9398, allocations: 40.69 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.9398, allocations: 1.406 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.9399, allocations: 38.56 kB / 1.107 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.9399, allocations: 0 / 1.107 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002846/0.9401, allocations: 113.6 kB / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.9402, allocations: 132.5 kB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.9404, allocations: 162.6 kB / 1.107 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.9404, allocations: 33.69 kB / 1.107 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.9405, allocations: 148.2 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.9406, allocations: 23.62 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.9406, allocations: 0.9375 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9407, allocations: 330.8 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.9408, allocations: 36 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.821e-05/0.9409, allocations: 63.44 kB / 1.108 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.941, allocations: 31.98 kB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.941, allocations: 0 / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001975/0.9412, allocations: 126.3 kB / 1.108 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.9412, allocations: 5.25 kB / 1.108 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.9412, allocations: 0 / 1.108 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9413, allocations: 0 / 1.108 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.9414, allocations: 29.34 kB / 1.108 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9414, allocations: 1.328 kB / 1.108 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.9416, allocations: 27.97 kB / 1.108 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.9416, allocations: 4 kB / 1.108 GB, free: 8.859 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.242e-05/0.9417, allocations: 116.9 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001964/0.9419, allocations: 105.5 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.9419, allocations: 18.72 kB / 1.108 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.9422, allocations: 130.3 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.9422, allocations: 0 / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9422, allocations: 0 / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9422, allocations: 0 / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.9425, allocations: 230.1 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9425, allocations: 4 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.9426, allocations: 23.92 kB / 1.108 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.9426, allocations: 3.938 kB / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.9427, allocations: 7.797 kB / 1.108 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9427, allocations: 0 / 1.108 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/0.9427, allocations: 7.953 kB / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.9429, allocations: 203.3 kB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.943, allocations: 92.92 kB / 1.109 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.9431, allocations: 4 kB / 1.109 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.9432, allocations: 31.97 kB / 1.109 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.9433, allocations: 27.91 kB / 1.109 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.9434, allocations: 7.984 kB / 1.109 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000111/0.9435, allocations: 120.1 kB / 1.109 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9435, allocations: 4 kB / 1.109 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002837/0.9438, allocations: 35.92 kB / 1.109 GB, free: 7.625 MB / 0.7136 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) * 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.0006124/0.9444, allocations: 0.7491 MB / 1.11 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.9446, allocations: 79.94 kB / 1.11 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9446, allocations: 4 kB / 1.11 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.9447, allocations: 53.14 kB / 1.11 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.945, allocations: 10.42 kB / 1.11 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.9457, allocations: 253.8 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.946, allocations: 0.7404 MB / 1.111 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.873e-05/0.9461, allocations: 14 kB / 1.111 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.9462, allocations: 59.41 kB / 1.111 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.9462, allocations: 0 / 1.111 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.9674, allocations: 3.053 MB / 1.114 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.9677, allocations: 193.8 kB / 1.114 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.65, allocations: 2.188 kB / 1.114 GB, free: 2.406 MB / 0.7136 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)