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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.87/0.87, allocations: 133.5 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.5 MB / 395.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 106.5 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.585e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.5968, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.7613, allocations: 117.2 MB / 0.7483 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.7617, allocations: 83.94 kB / 0.7484 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.7863, allocations: 8.164 MB / 0.7564 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7864, allocations: 0 / 0.7564 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.7864, allocations: 4 kB / 0.7564 GB, free: 13.23 MB / 0.5417 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.001162/0.7876, allocations: 490.1 kB / 0.7569 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.892e-05/0.7876, allocations: 8.031 kB / 0.7569 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.7883, allocations: 96.36 kB / 0.757 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.7885, allocations: 175 kB / 0.7571 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.7886, allocations: 49.67 kB / 0.7572 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.7887, allocations: 12 kB / 0.7572 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003538/0.7891, allocations: 143.9 kB / 0.7573 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.7894, allocations: 141.6 kB / 0.7575 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7894, allocations: 0 / 0.7575 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.7894, allocations: 0 / 0.7575 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.7894, allocations: 4 kB / 0.7575 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.7911, allocations: 0.8922 MB / 0.7583 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.7913, allocations: 130.6 kB / 0.7585 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.7914, allocations: 56.86 kB / 0.7585 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000871/0.7923, allocations: 0.522 MB / 0.759 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.7924, allocations: 30.56 kB / 0.7591 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/0.7924, allocations: 0 / 0.7591 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001498/0.7939, allocations: 265.3 kB / 0.7593 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.794, allocations: 55.41 kB / 0.7594 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.7941, allocations: 113.2 kB / 0.7595 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.7941, allocations: 29.69 kB / 0.7595 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.7942, allocations: 124.1 kB / 0.7596 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.7943, allocations: 39.36 kB / 0.7597 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.7943, allocations: 7.938 kB / 0.7597 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7945, allocations: 318.8 kB / 0.76 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.7946, allocations: 63.94 kB / 0.76 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.7947, allocations: 79.59 kB / 0.7601 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.7959, allocations: 167.8 kB / 0.7603 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7959, allocations: 0 / 0.7603 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001342/0.7973, allocations: 287.1 kB / 0.7605 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.7973, allocations: 12.03 kB / 0.7606 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7974, allocations: 3.953 kB / 0.7606 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.7974, allocations: 4 kB / 0.7606 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.7977, allocations: 43.91 kB / 0.7606 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.7977, allocations: 0 / 0.7606 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.7979, allocations: 19.83 kB / 0.7606 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.7979, allocations: 4 kB / 0.7606 GB, free: 8.504 MB / 0.5417 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.7981, allocations: 116.9 kB / 0.7607 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001269/0.7993, allocations: 252.4 kB / 0.761 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.7994, allocations: 15.84 kB / 0.761 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.8007, allocations: 278.1 kB / 0.7613 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.8007, allocations: 4 kB / 0.7613 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8008, allocations: 0 / 0.7613 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8008, allocations: 0 / 0.7613 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.8031, allocations: 1.025 MB / 0.7623 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8031, allocations: 0 / 0.7623 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.8034, allocations: 35.97 kB / 0.7623 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.8034, allocations: 0 / 0.7623 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.8034, allocations: 4 kB / 0.7623 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.8034, allocations: 3.984 kB / 0.7623 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8034, allocations: 0 / 0.7623 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.8048, allocations: 388.4 kB / 0.7627 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.8049, allocations: 89 kB / 0.7628 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.8049, allocations: 0 / 0.7628 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.8051, allocations: 19.98 kB / 0.7628 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.8052, allocations: 19.91 kB / 0.7628 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.8052, allocations: 4 kB / 0.7628 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001227/0.8054, allocations: 98.61 kB / 0.7629 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8054, allocations: 0 / 0.7629 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007599/0.8061, allocations: 135.7 kB / 0.763 GB, free: 5.84 MB / 0.5417 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002584/0.8087, allocations: 1.183 MB / 0.7642 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003759/0.8091, allocations: 143.9 kB / 0.7643 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.8091, allocations: 4.062 kB / 0.7643 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.8093, allocations: 67.94 kB / 0.7644 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.8096, allocations: 23.91 kB / 0.7644 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.8104, allocations: 280 kB / 0.7647 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.8108, allocations: 0.7123 MB / 0.7654 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.811, allocations: 29.47 kB / 0.7654 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.8111, allocations: 39.42 kB / 0.7654 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.8111, allocations: 0 / 0.7654 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.8396, allocations: 4.403 MB / 0.7697 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.8399, allocations: 160.6 kB / 0.7699 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.629, allocations: 0 / 0.7699 GB, free: 14.7 MB / 0.5573 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/linux/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)