Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.0009007/0.0009007, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.0009668/0.0009669, allocations: 172 kB / 16.26 MB, free: 6.656 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.171/1.171, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001586/0.001586, allocations: 270.4 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8351/0.8351, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 14.25 kB / 0.5988 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001775/0.1232, allocations: 1.711 MB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1253, allocations: 1.706 MB / 0.6886 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.1254, allocations: 4 kB / 0.6886 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.1254, allocations: 12.47 kB / 0.6886 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1256, allocations: 49.28 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.1263, allocations: 291.5 kB / 0.6889 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1265, allocations: 208.9 kB / 0.6891 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1266, allocations: 54.31 kB / 0.6892 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.756e-05/0.1267, allocations: 70.31 kB / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1269, allocations: 79.67 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1269, allocations: 8 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.1275, allocations: 393.5 kB / 0.6897 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.1276, allocations: 31.91 kB / 0.6897 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.1277, allocations: 105.3 kB / 0.6898 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.1282, allocations: 418.9 kB / 0.6902 GB, free: 9.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1282, allocations: 0 / 0.6902 GB, free: 9.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1282, allocations: 0 / 0.6902 GB, free: 9.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1282, allocations: 0.625 kB / 0.6902 GB, free: 9.852 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006475/0.1288, allocations: 497.4 kB / 0.6907 GB, free: 9.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1289, allocations: 11.97 kB / 0.6907 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.1289, allocations: 52.05 kB / 0.6908 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.1295, allocations: 105.4 kB / 0.6909 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1296, allocations: 180.2 kB / 0.691 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.1297, allocations: 50.25 kB / 0.6911 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1297, allocations: 20.31 kB / 0.6911 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.1301, allocations: 187.1 kB / 0.6913 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1301, allocations: 0 / 0.6913 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1301, allocations: 8 kB / 0.6913 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1302, allocations: 7.938 kB / 0.6913 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.1306, allocations: 191.8 kB / 0.6915 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.1317, allocations: 0.9113 MB / 0.6924 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.1322, allocations: 182.5 kB / 0.6925 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1324, allocations: 84.81 kB / 0.6926 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.133, allocations: 0.522 MB / 0.6931 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.133, allocations: 38.55 kB / 0.6932 GB, free: 6.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.133, allocations: 0 / 0.6932 GB, free: 6.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006751/0.1337, allocations: 241.8 kB / 0.6934 GB, free: 6.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1337, allocations: 55.41 kB / 0.6934 GB, free: 6.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1339, allocations: 166.3 kB / 0.6936 GB, free: 5.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1339, allocations: 25.7 kB / 0.6936 GB, free: 5.961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.134, allocations: 119.8 kB / 0.6937 GB, free: 5.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.134, allocations: 51.3 kB / 0.6938 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1341, allocations: 17.72 kB / 0.6938 GB, free: 5.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.1341, allocations: 322.8 kB / 0.6941 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.1343, allocations: 83.95 kB / 0.6942 GB, free: 5.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.1346, allocations: 93.67 kB / 0.6943 GB, free: 5.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1349, allocations: 159.3 kB / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.135, allocations: 0 / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004843/0.1354, allocations: 227 kB / 0.6947 GB, free: 4.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1355, allocations: 6.344 kB / 0.6947 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1355, allocations: 3.938 kB / 0.6947 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.1355, allocations: 0 / 0.6947 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1357, allocations: 43.91 kB / 0.6947 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1357, allocations: 0 / 0.6947 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.1359, allocations: 39.73 kB / 0.6947 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.136, allocations: 4 kB / 0.6947 GB, free: 4.781 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: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001319/0.1361, allocations: 139 kB / 0.6949 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1361, allocations: 7.906 kB / 0.6949 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.1366, allocations: 205.5 kB / 0.6951 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1367, allocations: 7.984 kB / 0.6951 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1367, allocations: 0 / 0.6951 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1367, allocations: 3.984 kB / 0.6951 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.138, allocations: 0.9817 MB / 0.6961 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.138, allocations: 0 / 0.6961 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.1382, allocations: 47.91 kB / 0.6961 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1382, allocations: 0 / 0.6961 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1382, allocations: 4 kB / 0.6961 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1383, allocations: 0 / 0.6961 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1383, allocations: 0 / 0.6961 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.1387, allocations: 301 kB / 0.6964 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1388, allocations: 96.91 kB / 0.6965 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1388, allocations: 0 / 0.6965 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1391, allocations: 27.97 kB / 0.6965 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1391, allocations: 15.86 kB / 0.6965 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1391, allocations: 4 kB / 0.6965 GB, free: 2.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.1392, allocations: 121.5 kB / 0.6966 GB, free: 2.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1392, allocations: 0 / 0.6966 GB, free: 2.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1396, allocations: 127.9 kB / 0.6968 GB, free: 2.508 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001008/0.1406, allocations: 0.9577 MB / 0.6977 GB, free: 1.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.1411, allocations: 183.9 kB / 0.6979 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1411, allocations: 0 / 0.6979 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1413, allocations: 87.89 kB / 0.698 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1417, allocations: 40.86 kB / 0.698 GB, free: 1.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.1441, allocations: 2.141 MB / 0.7001 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1444, allocations: 0.705 MB / 0.7008 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000141/0.1445, allocations: 32.8 kB / 0.7008 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.1446, allocations: 47.41 kB / 0.7009 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1446, allocations: 3.938 kB / 0.7009 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3295/0.4742, allocations: 5.697 MB / 0.7064 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.4744, allocations: 234.5 kB / 0.7066 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.313, allocations: 0 / 0.7066 GB, free: 8.453 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)