Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.716/2.716, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.002376/0.002376, allocations: 180.8 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 94.36 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005115, allocations: 19.84 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2447, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002657/0.2474, allocations: 1.685 MB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2489, allocations: 0.5739 MB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2491, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2493, allocations: 11.86 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2494, allocations: 31.73 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.2497, allocations: 51.94 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.25, allocations: 204 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.2503, allocations: 86.11 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2504, allocations: 55.72 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2506, allocations: 79.48 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.2506, allocations: 8 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.2507, allocations: 11.98 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.2508, allocations: 31.86 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.2509, allocations: 57.62 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2512, allocations: 207.7 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2512, allocations: 0 / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2512, allocations: 0 / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.2512, allocations: 0 / 0.9815 GB, free: 25.14 MB / 0.6198 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.0009754/0.2522, allocations: 494.5 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.2522, allocations: 12.03 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.2523, allocations: 50.55 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.2524, allocations: 27.67 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.2528, allocations: 255.5 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2529, allocations: 19.94 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.2529, allocations: 16 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.2535, allocations: 221.4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2535, allocations: 0 / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.2536, allocations: 12 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.2536, allocations: 8 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.2541, allocations: 143.9 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.2554, allocations: 0.605 MB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.256, allocations: 130.7 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.2562, allocations: 56.84 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.2563, allocations: 0 / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2563, allocations: 34.56 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.2563, allocations: 4 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007141/0.257, allocations: 177.6 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.2571, allocations: 136.5 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.2574, allocations: 210.8 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.2574, allocations: 33.7 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2575, allocations: 148.1 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.2576, allocations: 35.55 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.2576, allocations: 0 / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.2577, allocations: 330.8 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2579, allocations: 51.97 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.2581, allocations: 85.39 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.2584, allocations: 49.23 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2584, allocations: 0 / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005205/0.2589, allocations: 169.4 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2589, allocations: 6.188 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.259, allocations: 3.984 kB / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.259, allocations: 0 / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2592, allocations: 20.36 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.2592, allocations: 3.984 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2595, allocations: 39.92 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.2596, allocations: 4 kB / 0.9849 GB, free: 21.34 MB / 0.6198 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.0001847/0.2598, allocations: 147 kB / 0.9851 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.2598, allocations: 23.8 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.2604, allocations: 155 kB / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2604, allocations: 0 / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2604, allocations: 0 / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2604, allocations: 0 / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.2608, allocations: 269.5 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2608, allocations: 4 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.261, allocations: 19.98 kB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.261, allocations: 3.953 kB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2611, allocations: 7.984 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2611, allocations: 4 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2611, allocations: 0 / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.2616, allocations: 239.2 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.2616, allocations: 88.92 kB / 0.9858 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.2617, allocations: 15.89 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.262, allocations: 31.97 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.2621, allocations: 23.95 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.2622, allocations: 4 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001617/0.2623, allocations: 148.4 kB / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.212e-06/0.2623, allocations: 0 / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003844/0.2627, allocations: 47.78 kB / 0.9861 GB, free: 20.04 MB / 0.6198 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.0008205/0.2636, allocations: 0.7866 MB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.2641, allocations: 112.8 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2641, allocations: 0 / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2643, allocations: 56.03 kB / 0.987 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.2648, allocations: 27.95 kB / 0.987 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.2674, allocations: 1.066 MB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2677, allocations: 0.7358 MB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.2679, allocations: 13.42 kB / 0.9888 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.2681, allocations: 67.41 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2681, allocations: 4 kB / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.3014, allocations: 3.722 MB / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.3018, allocations: 232.6 kB / 0.9927 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.053, allocations: 0 / 0.9927 GB, free: 13.32 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)