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.0007917/0.0007917, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004782/0.004782, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9555/0.9555, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 8.5 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001762/0.133, allocations: 1.714 MB / 0.5898 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1351, allocations: 1.703 MB / 0.5914 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.1351, allocations: 4 kB / 0.5914 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.1352, allocations: 15.84 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.1353, allocations: 43.67 kB / 0.5915 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.1359, allocations: 299.2 kB / 0.5918 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1361, allocations: 207.2 kB / 0.592 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1362, allocations: 53.38 kB / 0.592 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.1363, allocations: 67.78 kB / 0.5921 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1364, allocations: 75.69 kB / 0.5921 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1365, allocations: 8 kB / 0.5922 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.1371, allocations: 395.5 kB / 0.5925 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.1371, allocations: 31.91 kB / 0.5926 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.1372, allocations: 105.4 kB / 0.5927 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1377, allocations: 411.2 kB / 0.5931 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1377, allocations: 4 kB / 0.5931 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1377, allocations: 0 / 0.5931 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1377, allocations: 0 / 0.5931 GB, free: 13.38 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.0006327/0.1384, allocations: 0.4913 MB / 0.5935 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1384, allocations: 11.97 kB / 0.5935 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.1384, allocations: 50.73 kB / 0.5936 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.139, allocations: 96.75 kB / 0.5937 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1391, allocations: 188.1 kB / 0.5939 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.1392, allocations: 50.27 kB / 0.5939 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1392, allocations: 16.12 kB / 0.5939 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.1396, allocations: 189.4 kB / 0.5941 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1396, allocations: 4 kB / 0.5941 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1396, allocations: 7.938 kB / 0.5941 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1396, allocations: 4 kB / 0.5941 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.1401, allocations: 183.9 kB / 0.5943 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1412, allocations: 0.9189 MB / 0.5952 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.1417, allocations: 190.1 kB / 0.5954 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1419, allocations: 88.81 kB / 0.5955 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/0.1425, allocations: 0.5259 MB / 0.596 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1425, allocations: 34.5 kB / 0.596 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1425, allocations: 0 / 0.596 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.00065/0.1432, allocations: 245.4 kB / 0.5962 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.1432, allocations: 55.41 kB / 0.5963 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1433, allocations: 161.7 kB / 0.5965 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1434, allocations: 29.7 kB / 0.5965 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.1434, allocations: 111.8 kB / 0.5966 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1435, allocations: 51.3 kB / 0.5966 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1435, allocations: 17.72 kB / 0.5967 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1436, allocations: 334.8 kB / 0.597 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1438, allocations: 75.95 kB / 0.597 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1441, allocations: 101.6 kB / 0.5971 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.1444, allocations: 159.6 kB / 0.5973 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1444, allocations: 0 / 0.5973 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004727/0.1449, allocations: 227.6 kB / 0.5975 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.145, allocations: 4 kB / 0.5975 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.145, allocations: 0 / 0.5975 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.145, allocations: 7.984 kB / 0.5975 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.1452, allocations: 39.97 kB / 0.5976 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1452, allocations: 3.984 kB / 0.5976 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.1454, allocations: 27.86 kB / 0.5976 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.1454, allocations: 11.98 kB / 0.5976 GB, free: 8.289 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 0.0001002/0.1455, allocations: 129.7 kB / 0.5977 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1456, allocations: 7.906 kB / 0.5977 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.1461, allocations: 210.3 kB / 0.5979 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1461, allocations: 4 kB / 0.5979 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1461, allocations: 0 / 0.5979 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1461, allocations: 0 / 0.5979 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.1474, allocations: 0.9857 MB / 0.5989 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1474, allocations: 4.062 kB / 0.5989 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1476, allocations: 31.97 kB / 0.5989 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1476, allocations: 0 / 0.5989 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1476, allocations: 8 kB / 0.5989 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1476, allocations: 3.938 kB / 0.5989 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1476, allocations: 3.938 kB / 0.599 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.1481, allocations: 304.1 kB / 0.5992 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1482, allocations: 96.94 kB / 0.5993 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1482, allocations: 4 kB / 0.5993 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.1484, allocations: 27.91 kB / 0.5994 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1485, allocations: 7.984 kB / 0.5994 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1485, allocations: 8 kB / 0.5994 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.426e-05/0.1486, allocations: 122.9 kB / 0.5995 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1486, allocations: 3.938 kB / 0.5995 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003715/0.1489, allocations: 127.8 kB / 0.5996 GB, free: 6.016 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.0009417/0.1499, allocations: 0.9437 MB / 0.6005 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.1503, allocations: 183.8 kB / 0.6007 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.1503, allocations: 4 kB / 0.6007 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1505, allocations: 89.31 kB / 0.6008 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1509, allocations: 40.17 kB / 0.6008 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.1533, allocations: 2.137 MB / 0.6029 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1535, allocations: 0.7089 MB / 0.6036 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.1537, allocations: 32.72 kB / 0.6037 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.1538, allocations: 43.42 kB / 0.6037 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1538, allocations: 0 / 0.6037 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/1.289, allocations: 5.667 MB / 0.6092 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/1.289, allocations: 217.9 kB / 0.6094 GB, free: 46.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/3.087, allocations: 0 / 0.6094 GB, free: 46.89 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)