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.478/1.478, allocations: 252 MB / 267.3 MB, free: 10.81 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.001107/0.001107, allocations: 170.7 kB / 327 MB, free: 2.078 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.927/1.927, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.00079/0.00079, allocations: 99.44 kB / 0.6826 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003382, allocations: 9.062 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 106.3 MB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002214/0.236, allocations: 1.743 MB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.2369, allocations: 0.5967 MB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.237, allocations: 4 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2371, allocations: 11.86 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.2372, allocations: 35.72 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.2374, allocations: 59.95 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.2376, allocations: 208 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.2378, allocations: 99.64 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2379, allocations: 67.58 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.238, allocations: 75.56 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.2381, allocations: 4 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.2382, allocations: 19.94 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.2382, allocations: 35.83 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.2383, allocations: 101.2 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2385, allocations: 247.3 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2385, allocations: 4 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2385, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.2386, allocations: 0 / 0.9041 GB, free: 59.88 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.0006329/0.2392, allocations: 490.8 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2392, allocations: 8.031 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.2393, allocations: 54.73 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.2394, allocations: 28.66 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.2396, allocations: 256.6 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2397, allocations: 16.31 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2397, allocations: 20.36 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.2401, allocations: 236.7 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2401, allocations: 0 / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2401, allocations: 15.94 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2401, allocations: 4 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.2404, allocations: 147.7 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.2412, allocations: 0.6051 MB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.2415, allocations: 130.7 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2416, allocations: 56.83 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.2417, allocations: 7.938 kB / 0.9061 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2417, allocations: 34.56 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2417, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004176/0.2421, allocations: 185.5 kB / 0.9063 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2422, allocations: 132.5 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2423, allocations: 210.9 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2423, allocations: 33.7 kB / 0.9067 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.2424, allocations: 144.2 kB / 0.9068 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.2424, allocations: 31.55 kB / 0.9069 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.2425, allocations: 4 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.2425, allocations: 326.8 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.2427, allocations: 51.97 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.2428, allocations: 90.14 kB / 0.9073 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.243, allocations: 97.62 kB / 0.9074 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.243, allocations: 4 kB / 0.9074 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002605/0.2432, allocations: 164 kB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2433, allocations: 4 kB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2433, allocations: 4 kB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2433, allocations: 3.938 kB / 0.9076 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2434, allocations: 24.02 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2434, allocations: 0 / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2436, allocations: 39.81 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2436, allocations: 4 kB / 0.9077 GB, free: 56 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.2437, allocations: 138.2 kB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.2437, allocations: 19.8 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.244, allocations: 154.9 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2441, allocations: 7.938 kB / 0.908 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2441, allocations: 0 / 0.908 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2441, allocations: 0 / 0.908 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2443, allocations: 273.5 kB / 0.9082 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2443, allocations: 4 kB / 0.9082 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.2444, allocations: 19.98 kB / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2444, allocations: 0 / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2444, allocations: 3.984 kB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2444, allocations: 7.938 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2444, allocations: 3.938 kB / 0.9083 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.2447, allocations: 239.2 kB / 0.9085 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.2448, allocations: 92.95 kB / 0.9086 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.2448, allocations: 8 kB / 0.9086 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.245, allocations: 35.91 kB / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.245, allocations: 19.97 kB / 0.9086 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2451, allocations: 7.984 kB / 0.9086 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001018/0.2452, allocations: 143.6 kB / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2452, allocations: 0 / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002325/0.2454, allocations: 39.84 kB / 0.9088 GB, free: 54.7 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 (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.0004704/0.2459, allocations: 0.7865 MB / 0.9096 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.2462, allocations: 120 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2462, allocations: 0 / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.2463, allocations: 55.97 kB / 0.9098 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.2466, allocations: 25.36 kB / 0.9098 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.2486, allocations: 2.07 MB / 0.9118 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2487, allocations: 0.7319 MB / 0.9125 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.291e-05/0.2488, allocations: 25.42 kB / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.2489, allocations: 59.41 kB / 0.9126 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/0.2489, allocations: 0 / 0.9126 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.2622, allocations: 3.527 MB / 0.916 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.2624, allocations: 253.4 kB / 0.9163 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.171, allocations: 5.906 kB / 0.9163 GB, free: 47.13 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)