Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.837/0.837, allocations: 143.3 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 177.1 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 76.34 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 276.2 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 15.11 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5465/0.7162, allocations: 111.6 MB / 0.8828 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.7165, allocations: 94.09 kB / 0.8829 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00899/0.7255, allocations: 3.346 MB / 0.8862 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7255, allocations: 0 / 0.8862 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.7256, allocations: 5.781 kB / 0.8862 GB, free: 31.91 MB / 0.5417 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.0006339/0.7262, allocations: 0.4983 MB / 0.8867 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7263, allocations: 11.47 kB / 0.8867 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.414e-05/0.7263, allocations: 51.89 kB / 0.8867 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.7264, allocations: 28.22 kB / 0.8868 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.7267, allocations: 237.3 kB / 0.887 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.7267, allocations: 12.75 kB / 0.887 GB, free: 31.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.7267, allocations: 25.47 kB / 0.887 GB, free: 31.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.7271, allocations: 223.6 kB / 0.8872 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7272, allocations: 0 / 0.8872 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.7272, allocations: 6.75 kB / 0.8872 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.7272, allocations: 4.812 kB / 0.8872 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.7275, allocations: 151.2 kB / 0.8874 GB, free: 31.13 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.7285, allocations: 0.6115 MB / 0.888 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.7288, allocations: 126.1 kB / 0.8881 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.7289, allocations: 2.531 kB / 0.8881 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.7289, allocations: 42.58 kB / 0.8881 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.7289, allocations: 0 / 0.8881 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0004334/0.7293, allocations: 196.7 kB / 0.8883 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.7294, allocations: 134.2 kB / 0.8885 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.7296, allocations: 189.2 kB / 0.8886 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.7296, allocations: 33.33 kB / 0.8887 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.7297, allocations: 140.6 kB / 0.8888 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.7297, allocations: 33.2 kB / 0.8888 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.7297, allocations: 0 / 0.8888 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.7298, allocations: 330.1 kB / 0.8892 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.73, allocations: 55.88 kB / 0.8892 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.7301, allocations: 81.98 kB / 0.8893 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.7302, allocations: 50.12 kB / 0.8893 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7302, allocations: 0.5156 kB / 0.8893 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002798/0.7305, allocations: 156.5 kB / 0.8895 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7305, allocations: 6.297 kB / 0.8895 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7306, allocations: 0 / 0.8895 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7306, allocations: 1.219 kB / 0.8895 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.7307, allocations: 24.11 kB / 0.8895 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7307, allocations: 7.984 kB / 0.8895 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.7309, allocations: 33.16 kB / 0.8895 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.7309, allocations: 3.812 kB / 0.8896 GB, free: 29.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001041/0.731, allocations: 150.9 kB / 0.8897 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.731, allocations: 19.2 kB / 0.8897 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.7314, allocations: 151.7 kB / 0.8899 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7314, allocations: 1.375 kB / 0.8899 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7314, allocations: 8.656 kB / 0.8899 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7314, allocations: 2.031 kB / 0.8899 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.7317, allocations: 273 kB / 0.8901 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7317, allocations: 0 / 0.8901 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.7318, allocations: 16.62 kB / 0.8901 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7318, allocations: 0 / 0.8901 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7318, allocations: 3.359 kB / 0.8902 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7318, allocations: 1.219 kB / 0.8902 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7318, allocations: 1.172 kB / 0.8902 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.7321, allocations: 256 kB / 0.8904 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.7322, allocations: 92.98 kB / 0.8905 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.7322, allocations: 7.078 kB / 0.8905 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.7324, allocations: 37.22 kB / 0.8905 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.7325, allocations: 22.28 kB / 0.8905 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.7325, allocations: 4.156 kB / 0.8906 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001143/0.7326, allocations: 152.8 kB / 0.8907 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.7326, allocations: 0 / 0.8907 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002524/0.7329, allocations: 39.48 kB / 0.8907 GB, free: 29.16 MB / 0.5417 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.0005218/0.7334, allocations: 0.7894 MB / 0.8915 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.7337, allocations: 116.6 kB / 0.8916 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7337, allocations: 2.438 kB / 0.8916 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.7339, allocations: 59.06 kB / 0.8917 GB, free: 28.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.7341, allocations: 22.83 kB / 0.8917 GB, free: 28.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.7356, allocations: 1.084 MB / 0.8928 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.7358, allocations: 0.7371 MB / 0.8935 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.7359, allocations: 17.58 kB / 0.8935 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.736, allocations: 63.22 kB / 0.8936 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.736, allocations: 0 / 0.8936 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.7524, allocations: 3.773 MB / 0.8972 GB, free: 27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.7526, allocations: 223.3 kB / 0.8975 GB, free: 26.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.549, allocations: 0 / 0.8975 GB, free: 26.76 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)