Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 176.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008826, allocations: 92.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 10.16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001937/0.2297, allocations: 1.693 MB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.2306, allocations: 0.5736 MB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2307, allocations: 8 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.756e-05/0.2308, allocations: 11.86 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.2309, allocations: 31.88 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2311, allocations: 59.86 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2313, allocations: 128.3 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2314, allocations: 86.11 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.2315, allocations: 59.7 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.2316, allocations: 75.61 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2317, allocations: 8 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.2317, allocations: 12 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.2318, allocations: 31.84 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.2318, allocations: 57.58 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.232, allocations: 191.8 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.232, allocations: 0 / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/0.232, allocations: 0 / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.232, allocations: 0 / 0.9031 GB, free: 60.79 MB / 0.6042 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.0006321/0.2327, allocations: 498.6 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2327, allocations: 8.031 kB / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.2328, allocations: 50.55 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.2328, allocations: 35.61 kB / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2331, allocations: 251.4 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2331, allocations: 12 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2332, allocations: 23.94 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.2335, allocations: 228.6 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2335, allocations: 0 / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2336, allocations: 8 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2336, allocations: 4 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.2339, allocations: 147.7 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.2346, allocations: 0.6013 MB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.235, allocations: 130.7 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.235, allocations: 4.125 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.235, allocations: 34.56 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.235, allocations: 0 / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003965/0.2354, allocations: 189.3 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2355, allocations: 128.5 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2356, allocations: 207 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2357, allocations: 33.7 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.2358, allocations: 148.1 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.2358, allocations: 27.64 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.2358, allocations: 4 kB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.2359, allocations: 334.8 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.236, allocations: 47.98 kB / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2361, allocations: 84.27 kB / 0.9062 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2362, allocations: 57.8 kB / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2362, allocations: 0 / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000258/0.2365, allocations: 161.4 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2365, allocations: 7.984 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2365, allocations: 0 / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2365, allocations: 4 kB / 0.9064 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2366, allocations: 19.92 kB / 0.9064 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2367, allocations: 4 kB / 0.9064 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2368, allocations: 39.86 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.2368, allocations: 4 kB / 0.9065 GB, free: 57.04 MB / 0.6042 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 0.000103/0.2369, allocations: 134.3 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.237, allocations: 23.7 kB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.2373, allocations: 158.9 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2373, allocations: 3.984 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2373, allocations: 0 / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2373, allocations: 3.984 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.2375, allocations: 277.5 kB / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2375, allocations: 0 / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.2376, allocations: 19.92 kB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2376, allocations: 4.469 kB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2377, allocations: 7.953 kB / 0.9071 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2377, allocations: 4 kB / 0.9071 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2377, allocations: 0 / 0.9071 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2379, allocations: 235.2 kB / 0.9073 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.238, allocations: 92.92 kB / 0.9074 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.238, allocations: 8 kB / 0.9074 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.2382, allocations: 35.92 kB / 0.9075 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.2383, allocations: 19.95 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2383, allocations: 8 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.614e-05/0.2384, allocations: 148.9 kB / 0.9076 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2384, allocations: 0 / 0.9076 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002649/0.2386, allocations: 43.84 kB / 0.9077 GB, free: 55.73 MB / 0.6042 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.0004661/0.2391, allocations: 0.7825 MB / 0.9084 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.2394, allocations: 111.9 kB / 0.9085 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2394, allocations: 0 / 0.9085 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.2395, allocations: 67.97 kB / 0.9086 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.2398, allocations: 19.38 kB / 0.9086 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.2412, allocations: 1.23 MB / 0.9098 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.2414, allocations: 0.7397 MB / 0.9105 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.29e-05/0.2414, allocations: 13.42 kB / 0.9106 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.2415, allocations: 71.41 kB / 0.9106 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2416, allocations: 0 / 0.9106 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.2553, allocations: 3.694 MB / 0.9142 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.2555, allocations: 223.7 kB / 0.9144 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/1.938, allocations: 4.062 kB / 0.9145 GB, free: 48.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)