Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_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.001081/0.001081, allocations: 97.36 kB / 15.69 MB, free: 480 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.001364/0.001364, allocations: 173.9 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6666/0.6666, allocations: 113.7 MB / 405.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00229/0.1863, allocations: 1.658 MB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.1872, allocations: 0.5263 MB / 0.5589 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.1873, allocations: 0 / 0.5589 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1874, allocations: 19.86 kB / 0.5589 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.1875, allocations: 35.88 kB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1878, allocations: 47.94 kB / 0.559 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.188, allocations: 132.3 kB / 0.5591 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1882, allocations: 78.14 kB / 0.5592 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1883, allocations: 59.7 kB / 0.5592 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1884, allocations: 71.61 kB / 0.5593 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1884, allocations: 12 kB / 0.5593 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/0.1885, allocations: 15.92 kB / 0.5593 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.1886, allocations: 31.84 kB / 0.5594 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1886, allocations: 57.58 kB / 0.5594 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1889, allocations: 195.8 kB / 0.5596 GB, free: 8.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1889, allocations: 4 kB / 0.5596 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1889, allocations: 0 / 0.5596 GB, free: 8.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1889, allocations: 0 / 0.5596 GB, free: 8.754 MB / 430.1 MB 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.0007509/0.1897, allocations: 490.5 kB / 0.5601 GB, free: 8.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1897, allocations: 8.031 kB / 0.5601 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.1898, allocations: 54.55 kB / 0.5601 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.1898, allocations: 23.72 kB / 0.5602 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.1902, allocations: 263.3 kB / 0.5604 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1902, allocations: 15.92 kB / 0.5604 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1903, allocations: 23.95 kB / 0.5604 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.1907, allocations: 213.5 kB / 0.5606 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1907, allocations: 4 kB / 0.5606 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1907, allocations: 12 kB / 0.5607 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1907, allocations: 4 kB / 0.5607 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.1911, allocations: 151.6 kB / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.192, allocations: 0.6051 MB / 0.5614 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.1924, allocations: 130.7 kB / 0.5615 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.1924, allocations: 8 kB / 0.5615 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1925, allocations: 30.56 kB / 0.5616 GB, free: 6.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1925, allocations: 0 / 0.5616 GB, free: 6.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004546/0.1929, allocations: 181.6 kB / 0.5617 GB, free: 6.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.193, allocations: 132.5 kB / 0.5619 GB, free: 6.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1932, allocations: 214.9 kB / 0.5621 GB, free: 5.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.1933, allocations: 33.64 kB / 0.5621 GB, free: 5.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1934, allocations: 148.2 kB / 0.5622 GB, free: 5.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1934, allocations: 31.55 kB / 0.5623 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.1934, allocations: 0 / 0.5623 GB, free: 5.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1936, allocations: 330.8 kB / 0.5626 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1937, allocations: 51.97 kB / 0.5626 GB, free: 5.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1939, allocations: 92.27 kB / 0.5627 GB, free: 5.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.194, allocations: 47.92 kB / 0.5628 GB, free: 5.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.194, allocations: 0 / 0.5628 GB, free: 5.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002926/0.1943, allocations: 161.2 kB / 0.5629 GB, free: 5.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1943, allocations: 8.031 kB / 0.5629 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1944, allocations: 0 / 0.5629 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1944, allocations: 4 kB / 0.5629 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1945, allocations: 19.92 kB / 0.563 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1945, allocations: 4 kB / 0.563 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.1947, allocations: 31.88 kB / 0.563 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1947, allocations: 11.95 kB / 0.563 GB, free: 5.004 MB / 430.1 MB 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.0001298/0.1948, allocations: 133.8 kB / 0.5631 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.1949, allocations: 15.81 kB / 0.5631 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.1952, allocations: 167.3 kB / 0.5633 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1952, allocations: 0 / 0.5633 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1952, allocations: 0 / 0.5633 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1953, allocations: 4 kB / 0.5633 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.1955, allocations: 273.4 kB / 0.5636 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1956, allocations: 0 / 0.5636 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1957, allocations: 23.92 kB / 0.5636 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1957, allocations: 48 / 0.5636 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1957, allocations: 3.984 kB / 0.5636 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1957, allocations: 0 / 0.5636 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1957, allocations: 7.984 kB / 0.5636 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1961, allocations: 239.2 kB / 0.5638 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.1961, allocations: 96.81 kB / 0.5639 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.1962, allocations: 4 kB / 0.5639 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1963, allocations: 31.92 kB / 0.564 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.1964, allocations: 23.95 kB / 0.564 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1964, allocations: 7.984 kB / 0.564 GB, free: 3.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1966, allocations: 152.7 kB / 0.5641 GB, free: 3.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1966, allocations: 0 / 0.5641 GB, free: 3.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1969, allocations: 39.94 kB / 0.5642 GB, free: 3.703 MB / 430.1 MB 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.0006758/0.1975, allocations: 0.7788 MB / 0.5649 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.1979, allocations: 127.8 kB / 0.5651 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1979, allocations: 0 / 0.5651 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.198, allocations: 55.92 kB / 0.5651 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1983, allocations: 24.05 kB / 0.5651 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2001, allocations: 1.22 MB / 0.5663 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2004, allocations: 0.7438 MB / 0.567 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.178e-05/0.2005, allocations: 13.42 kB / 0.5671 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2006, allocations: 59.41 kB / 0.5671 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2006, allocations: 8 kB / 0.5671 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.2355, allocations: 3.669 MB / 0.5707 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.2359, allocations: 224.1 kB / 0.5709 GB, free: 12.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.393, allocations: 2.344 kB / 0.5709 GB, free: 12.87 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: