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.001577/0.001577, allocations: 109.4 kB / 15.69 MB, free: 128 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.001886/0.001886, allocations: 188.1 kB / 16.62 MB, free: 6.582 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.386/1.386, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.718/1.718, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001558/0.001558, allocations: 71.67 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2142, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003343/0.2176, allocations: 2.04 MB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2187, allocations: 0.6087 MB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2189, allocations: 0 / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2191, allocations: 23.67 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.2192, allocations: 31.66 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2195, allocations: 87.84 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.2198, allocations: 228 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.22, allocations: 115.6 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.2202, allocations: 83.66 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2204, allocations: 111.5 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.2204, allocations: 24 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.2205, allocations: 35.98 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.2206, allocations: 51.84 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2207, allocations: 111.4 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.221, allocations: 271.3 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.221, allocations: 4 kB / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.221, allocations: 0 / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.221, allocations: 0 / 0.7874 GB, free: 9.395 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.0007185/0.2218, allocations: 0.5217 MB / 0.7879 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2218, allocations: 16.03 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.2219, allocations: 50.73 kB / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.2219, allocations: 32.59 kB / 0.788 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2222, allocations: 248.6 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2223, allocations: 16.38 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2223, allocations: 20.36 kB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.2227, allocations: 225.6 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2227, allocations: 0 / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2227, allocations: 8 kB / 0.7885 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2227, allocations: 4 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.223, allocations: 143.9 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.2239, allocations: 0.5896 MB / 0.7892 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.2242, allocations: 114.7 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2244, allocations: 56.81 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.2244, allocations: 8 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2244, allocations: 30.56 kB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2244, allocations: 0 / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004367/0.2249, allocations: 173.5 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.2249, allocations: 132.5 kB / 0.7897 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2251, allocations: 211.2 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2252, allocations: 37.7 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.2253, allocations: 140.2 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.2253, allocations: 35.53 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.2254, allocations: 37.7 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2255, allocations: 326.8 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2256, allocations: 43.97 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2257, allocations: 88.27 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2259, allocations: 96.75 kB / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.226, allocations: 0 / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003181/0.2263, allocations: 153.4 kB / 0.7908 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2263, allocations: 11.97 kB / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2263, allocations: 384 / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2263, allocations: 7.938 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2264, allocations: 15.98 kB / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2265, allocations: 0 / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2266, allocations: 39.75 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2266, allocations: 0 / 0.7909 GB, free: 5.523 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.000121/0.2268, allocations: 148.4 kB / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.2268, allocations: 15.81 kB / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.2271, allocations: 143 kB / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2271, allocations: 3.938 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2271, allocations: 4 kB / 0.7912 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2272, allocations: 0 / 0.7912 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.2274, allocations: 265.5 kB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2274, allocations: 0 / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.2275, allocations: 19.98 kB / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2275, allocations: 0 / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2276, allocations: 7.984 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2276, allocations: 7.938 kB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2276, allocations: 0 / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.2279, allocations: 223.2 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.2279, allocations: 92.92 kB / 0.7917 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.228, allocations: 8 kB / 0.7917 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2281, allocations: 27.91 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.2282, allocations: 19.97 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2282, allocations: 4 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001124/0.2283, allocations: 156.2 kB / 0.7919 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2283, allocations: 0 / 0.7919 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000263/0.2286, allocations: 43.84 kB / 0.792 GB, free: 4.262 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.0005951/0.2292, allocations: 0.7787 MB / 0.7927 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.2295, allocations: 103.9 kB / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2295, allocations: 0 / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.2296, allocations: 63.97 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.23, allocations: 19.94 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2322, allocations: 1.994 MB / 0.7949 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.2325, allocations: 0.7319 MB / 0.7956 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.052e-05/0.2326, allocations: 21.45 kB / 0.7956 GB, free: 424 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.2327, allocations: 67.41 kB / 0.7957 GB, free: 356 kB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2327, allocations: 0 / 0.7957 GB, free: 356 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.2519, allocations: 3.977 MB / 0.7996 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.445, allocations: 3.062 kB / 0.7996 GB, free: 12.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --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)