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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8728/0.8728, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 68.17 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1317, allocations: 80.94 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003179/0.135, allocations: 2.006 MB / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1372, allocations: 1.663 MB / 0.5881 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.1373, allocations: 0 / 0.5881 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/0.1374, allocations: 15.86 kB / 0.5881 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1375, allocations: 51.55 kB / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.1384, allocations: 354.8 kB / 0.5885 GB, free: 320 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1387, allocations: 219.1 kB / 0.5887 GB, free: 100 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1388, allocations: 57.45 kB / 0.5887 GB, free: 36 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1389, allocations: 75.78 kB / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1391, allocations: 91.66 kB / 0.5889 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1391, allocations: 20 kB / 0.5889 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007418/0.1399, allocations: 395.5 kB / 0.5893 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.1399, allocations: 35.91 kB / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.14, allocations: 91.64 kB / 0.5894 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.1406, allocations: 435.2 kB / 0.5898 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1406, allocations: 3.938 kB / 0.5898 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1406, allocations: 0 / 0.5898 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.1406, allocations: 3.938 kB / 0.5898 GB, free: 14.91 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.0007733/0.1414, allocations: 0.5147 MB / 0.5903 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1415, allocations: 12.03 kB / 0.5903 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.1415, allocations: 50.73 kB / 0.5904 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005409/0.1421, allocations: 84.66 kB / 0.5905 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1422, allocations: 188.1 kB / 0.5907 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.1423, allocations: 54.25 kB / 0.5907 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.1423, allocations: 16.12 kB / 0.5907 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.1427, allocations: 177.4 kB / 0.5909 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1427, allocations: 3.984 kB / 0.5909 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.1427, allocations: 8 kB / 0.5909 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1428, allocations: 4 kB / 0.5909 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.1432, allocations: 179.9 kB / 0.5911 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.1445, allocations: 0.9227 MB / 0.592 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.145, allocations: 166.6 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1452, allocations: 76.83 kB / 0.5922 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/0.1458, allocations: 0.522 MB / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1459, allocations: 38.5 kB / 0.5928 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1459, allocations: 0 / 0.5928 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006873/0.1466, allocations: 237.8 kB / 0.593 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1466, allocations: 51.41 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1468, allocations: 159.1 kB / 0.5932 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1468, allocations: 25.7 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1469, allocations: 123.7 kB / 0.5933 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.1469, allocations: 39.39 kB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.147, allocations: 45.61 kB / 0.5934 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1471, allocations: 326.8 kB / 0.5937 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.1473, allocations: 75.95 kB / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.1475, allocations: 103.8 kB / 0.5939 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.1479, allocations: 145.7 kB / 0.594 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1479, allocations: 4 kB / 0.594 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000482/0.1484, allocations: 212 kB / 0.5942 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1484, allocations: 4 kB / 0.5942 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1484, allocations: 0 / 0.5942 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1484, allocations: 0 / 0.5942 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.1487, allocations: 39.97 kB / 0.5943 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1487, allocations: 4 kB / 0.5943 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1489, allocations: 27.8 kB / 0.5943 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1489, allocations: 8 kB / 0.5943 GB, free: 9.875 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.0001091/0.149, allocations: 133.7 kB / 0.5944 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.1491, allocations: 15.81 kB / 0.5945 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.1496, allocations: 201.5 kB / 0.5947 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1496, allocations: 4 kB / 0.5947 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1496, allocations: 0 / 0.5947 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1496, allocations: 3.984 kB / 0.5947 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.151, allocations: 0.9817 MB / 0.5956 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.151, allocations: 0 / 0.5956 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.1512, allocations: 31.97 kB / 0.5956 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1512, allocations: 0 / 0.5956 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1512, allocations: 8 kB / 0.5957 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1512, allocations: 3.938 kB / 0.5957 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1513, allocations: 8 kB / 0.5957 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.1517, allocations: 273.1 kB / 0.5959 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.1518, allocations: 96.84 kB / 0.596 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1518, allocations: 11.98 kB / 0.596 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.152, allocations: 19.92 kB / 0.5961 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1521, allocations: 11.98 kB / 0.5961 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1521, allocations: 7.938 kB / 0.5961 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.368e-05/0.1522, allocations: 122.5 kB / 0.5962 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1522, allocations: 0 / 0.5962 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004024/0.1526, allocations: 123.9 kB / 0.5963 GB, free: 7.629 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.001019/0.1536, allocations: 0.9403 MB / 0.5972 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.1541, allocations: 191.7 kB / 0.5974 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1541, allocations: 4.062 kB / 0.5974 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.1543, allocations: 79.91 kB / 0.5975 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1547, allocations: 51.83 kB / 0.5975 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.1573, allocations: 2.042 MB / 0.5995 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1576, allocations: 0.7048 MB / 0.6002 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000147/0.1577, allocations: 35.86 kB / 0.6003 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.1578, allocations: 47.41 kB / 0.6003 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1578, allocations: 0 / 0.6003 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8369/0.9947, allocations: 5.956 MB / 0.6061 GB, free: 52.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.198/10.19, allocations: 16.64 kB / 0.6061 GB, free: 52.47 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)