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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000817/0.0008173, allocations: 94.91 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009042/0.0009041, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.167/1.167, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001572/0.001572, allocations: 274.6 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8459/0.8459, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 12.78 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001856/0.1254, allocations: 1.713 MB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.1262, allocations: 0.5513 MB / 0.6875 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.1263, allocations: 5.188 kB / 0.6875 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.885e-05/0.1264, allocations: 15.8 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.1264, allocations: 25.31 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1266, allocations: 67.89 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1268, allocations: 209.7 kB / 0.6878 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.127, allocations: 113.5 kB / 0.6879 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.1271, allocations: 64.27 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.1272, allocations: 75.5 kB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1273, allocations: 4.562 kB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.1273, allocations: 14.34 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.1274, allocations: 39.77 kB / 0.6881 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.1274, allocations: 101.2 kB / 0.6882 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1277, allocations: 247.1 kB / 0.6884 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1277, allocations: 0 / 0.6884 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1277, allocations: 0 / 0.6884 GB, free: 11.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1277, allocations: 3.938 kB / 0.6884 GB, free: 11.71 MB / 494.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.0005937/0.1283, allocations: 0.4906 MB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1283, allocations: 8.562 kB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.1284, allocations: 51.39 kB / 0.6889 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1284, allocations: 28.66 kB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1287, allocations: 246.7 kB / 0.6892 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1287, allocations: 16.38 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1288, allocations: 16.38 kB / 0.6892 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.1291, allocations: 239.2 kB / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1291, allocations: 0 / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1292, allocations: 8.875 kB / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1292, allocations: 4 kB / 0.6895 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.1295, allocations: 149.6 kB / 0.6896 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.1303, allocations: 0.6059 MB / 0.6902 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.1306, allocations: 126.7 kB / 0.6903 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1307, allocations: 52.84 kB / 0.6904 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1308, allocations: 11.97 kB / 0.6904 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1308, allocations: 34.69 kB / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1308, allocations: 0 / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004183/0.1312, allocations: 185.3 kB / 0.6906 GB, free: 9.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.1313, allocations: 132.5 kB / 0.6907 GB, free: 9.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1315, allocations: 218.9 kB / 0.6909 GB, free: 8.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1315, allocations: 33.7 kB / 0.691 GB, free: 8.859 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.1316, allocations: 148.2 kB / 0.6911 GB, free: 8.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1316, allocations: 27.56 kB / 0.6911 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1316, allocations: 25.7 kB / 0.6912 GB, free: 8.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1317, allocations: 326.8 kB / 0.6915 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1319, allocations: 47.98 kB / 0.6915 GB, free: 8.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.132, allocations: 95.02 kB / 0.6916 GB, free: 8.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1322, allocations: 102 kB / 0.6917 GB, free: 8.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1322, allocations: 4 kB / 0.6917 GB, free: 8.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002893/0.1325, allocations: 161.5 kB / 0.6919 GB, free: 7.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1326, allocations: 4 kB / 0.6919 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1326, allocations: 3.938 kB / 0.6919 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1326, allocations: 3.938 kB / 0.6919 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.1327, allocations: 23.92 kB / 0.6919 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1327, allocations: 4.031 kB / 0.6919 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1328, allocations: 35.83 kB / 0.6919 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1329, allocations: 11.98 kB / 0.6919 GB, free: 7.812 MB / 494.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 (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.0001069/0.133, allocations: 132.4 kB / 0.6921 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.133, allocations: 19.81 kB / 0.6921 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.1333, allocations: 159 kB / 0.6922 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1333, allocations: 3.938 kB / 0.6922 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1333, allocations: 0 / 0.6922 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1334, allocations: 0 / 0.6922 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.1336, allocations: 273.4 kB / 0.6925 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1336, allocations: 4 kB / 0.6925 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.1337, allocations: 19.92 kB / 0.6925 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1337, allocations: 4 kB / 0.6925 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1337, allocations: 0 / 0.6925 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1337, allocations: 3.938 kB / 0.6925 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1337, allocations: 0 / 0.6925 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.134, allocations: 239.2 kB / 0.6928 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1341, allocations: 104.8 kB / 0.6929 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1341, allocations: 0 / 0.6929 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1343, allocations: 35.91 kB / 0.6929 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.1344, allocations: 23.95 kB / 0.6929 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1344, allocations: 8 kB / 0.6929 GB, free: 6.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1345, allocations: 147.2 kB / 0.6931 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1345, allocations: 0 / 0.6931 GB, free: 6.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1348, allocations: 35.91 kB / 0.6931 GB, free: 6.527 MB / 494.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 (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.0005495/0.1353, allocations: 0.7827 MB / 0.6939 GB, free: 5.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1356, allocations: 123 kB / 0.694 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1356, allocations: 0 / 0.694 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1357, allocations: 55.92 kB / 0.694 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.1361, allocations: 25.89 kB / 0.6941 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.1381, allocations: 2.069 MB / 0.6961 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1384, allocations: 0.7244 MB / 0.6968 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.1385, allocations: 25.45 kB / 0.6968 GB, free: 2.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.1386, allocations: 63.41 kB / 0.6969 GB, free: 2.539 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1386, allocations: 0 / 0.6969 GB, free: 2.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6691/0.8077, allocations: 3.519 MB / 0.7003 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.8079, allocations: 249.9 kB / 0.7005 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.53, allocations: 2.531 kB / 0.7005 GB, free: 14.99 MB / 0.4981 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/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)