Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_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.001339/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00116/0.00116, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.166/1.166, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7989/0.7989, allocations: 135.1 MB / 425.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 64.34 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1198, allocations: 80.93 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002536/0.1224, allocations: 2.061 MB / 0.5858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1245, allocations: 1.738 MB / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.1246, allocations: 0 / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.1247, allocations: 19.84 kB / 0.5875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.011e-05/0.1247, allocations: 35.69 kB / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.1254, allocations: 299.2 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1256, allocations: 211.1 kB / 0.5881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1257, allocations: 53.38 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.1258, allocations: 71.84 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1259, allocations: 87.66 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1259, allocations: 12 kB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006099/0.1265, allocations: 387.5 kB / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.1266, allocations: 31.91 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.1266, allocations: 87.64 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.1271, allocations: 423.2 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1271, allocations: 3.938 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1271, allocations: 0 / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1271, allocations: 3.938 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB 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.0006797/0.1278, allocations: 0.5109 MB / 0.5897 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.1279, allocations: 8.031 kB / 0.5897 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.1279, allocations: 58.73 kB / 0.5897 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005028/0.1284, allocations: 84.64 kB / 0.5898 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.465e-05/0.1285, allocations: 184.1 kB / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.1286, allocations: 58.25 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1286, allocations: 16.12 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.129, allocations: 177.4 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.129, allocations: 0 / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.129, allocations: 8 kB / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.129, allocations: 0 / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.1294, allocations: 183.9 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1306, allocations: 0.9227 MB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.131, allocations: 174.6 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1312, allocations: 72.83 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005817/0.1318, allocations: 0.522 MB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1318, allocations: 38.5 kB / 0.5921 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.485e-06/0.1319, allocations: 3.984 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005962/0.1325, allocations: 233.5 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1325, allocations: 51.41 kB / 0.5924 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1326, allocations: 166.3 kB / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1326, allocations: 29.7 kB / 0.5926 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.1327, allocations: 119.7 kB / 0.5927 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1327, allocations: 43.39 kB / 0.5927 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.1328, allocations: 37.61 kB / 0.5928 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.1329, allocations: 330.8 kB / 0.5931 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1331, allocations: 75.95 kB / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1333, allocations: 105.5 kB / 0.5932 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.1336, allocations: 143.8 kB / 0.5934 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1336, allocations: 4 kB / 0.5934 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004312/0.1341, allocations: 211.1 kB / 0.5936 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1341, allocations: 8 kB / 0.5936 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1341, allocations: 0 / 0.5936 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.1341, allocations: 0 / 0.5936 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.1343, allocations: 35.97 kB / 0.5936 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1343, allocations: 0 / 0.5936 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1345, allocations: 31.86 kB / 0.5937 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1345, allocations: 7.984 kB / 0.5937 GB, free: 10.32 MB / 0.4981 GB 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 8.743e-05/0.1346, allocations: 125.7 kB / 0.5938 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.1347, allocations: 15.81 kB / 0.5938 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.1351, allocations: 205.2 kB / 0.594 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.1351, allocations: 4 kB / 0.594 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1351, allocations: 0 / 0.594 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1351, allocations: 0 / 0.594 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1364, allocations: 0.9795 MB / 0.595 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1364, allocations: 0 / 0.595 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1366, allocations: 31.97 kB / 0.595 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1366, allocations: 4 kB / 0.595 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1366, allocations: 4 kB / 0.595 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1366, allocations: 7.938 kB / 0.595 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1366, allocations: 8 kB / 0.595 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.137, allocations: 281.1 kB / 0.5953 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.1371, allocations: 96.84 kB / 0.5954 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1371, allocations: 8 kB / 0.5954 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1373, allocations: 19.92 kB / 0.5954 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.1374, allocations: 11.92 kB / 0.5954 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1374, allocations: 4 kB / 0.5954 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.1375, allocations: 123.2 kB / 0.5955 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1375, allocations: 0 / 0.5955 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003545/0.1378, allocations: 123.9 kB / 0.5956 GB, free: 8.082 MB / 0.4981 GB 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.0008889/0.1387, allocations: 0.9419 MB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.1391, allocations: 179.8 kB / 0.5967 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1391, allocations: 4.062 kB / 0.5967 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.1393, allocations: 83.84 kB / 0.5968 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1397, allocations: 39.97 kB / 0.5969 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.1419, allocations: 2.098 MB / 0.5989 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.1422, allocations: 0.7088 MB / 0.5996 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.1423, allocations: 29.53 kB / 0.5996 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.824e-05/0.1424, allocations: 47.41 kB / 0.5997 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1424, allocations: 0 / 0.5997 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7106/0.853, allocations: 5.738 MB / 0.6053 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.8533, allocations: 218.3 kB / 0.6055 GB, free: 51.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.545, allocations: 0 / 0.6055 GB, free: 51.55 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)