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.001682/0.001682, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002385/0.002385, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.735/2.735, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.717/1.717, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006459/0.000646, allocations: 8 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3541, allocations: 82.3 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004275/0.3585, allocations: 1.6 MB / 0.5888 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.3632, allocations: 1.472 MB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.3635, allocations: 4 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.3637, allocations: 7.922 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.364, allocations: 51.88 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.3662, allocations: 279.1 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.3667, allocations: 143.7 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.367, allocations: 45.64 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.3673, allocations: 67.83 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3676, allocations: 71.75 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.3677, allocations: 12 kB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.3696, allocations: 387.5 kB / 0.5913 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.3697, allocations: 31.91 kB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.3699, allocations: 53.64 kB / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3712, allocations: 311.5 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.3712, allocations: 0 / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.968e-06/0.3713, allocations: 3.938 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.3713, allocations: 4 kB / 0.5917 GB, free: 14.5 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.001426/0.3727, allocations: 498.9 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.3729, allocations: 8.031 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.3731, allocations: 50.55 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.3742, allocations: 103.7 kB / 0.5923 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3744, allocations: 186.8 kB / 0.5925 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.3746, allocations: 41.7 kB / 0.5925 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.3747, allocations: 15.98 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.3755, allocations: 185.4 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3755, allocations: 0 / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.3755, allocations: 8 kB / 0.5927 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3756, allocations: 7.938 kB / 0.5927 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.3764, allocations: 183.9 kB / 0.5929 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.3789, allocations: 0.9228 MB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.3797, allocations: 182.6 kB / 0.594 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009658/0.3807, allocations: 0.522 MB / 0.5945 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.3808, allocations: 34.56 kB / 0.5945 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 6.812e-06/0.3808, allocations: 0 / 0.5945 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001326/0.3821, allocations: 251.8 kB / 0.5948 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.3822, allocations: 59.34 kB / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.3825, allocations: 161.7 kB / 0.595 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.3826, allocations: 25.7 kB / 0.595 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3827, allocations: 123.8 kB / 0.5951 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.3828, allocations: 43.3 kB / 0.5952 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.3829, allocations: 4 kB / 0.5952 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.383, allocations: 326.8 kB / 0.5955 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.3834, allocations: 79.95 kB / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.3838, allocations: 95.56 kB / 0.5957 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.3842, allocations: 71.92 kB / 0.5957 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3843, allocations: 0 / 0.5957 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009418/0.3852, allocations: 223.5 kB / 0.5959 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.3853, allocations: 11.98 kB / 0.596 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3853, allocations: 0 / 0.596 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.3853, allocations: 0 / 0.596 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.3858, allocations: 47.91 kB / 0.596 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.3858, allocations: 0 / 0.596 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.3861, allocations: 31.73 kB / 0.596 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3862, allocations: 4 kB / 0.596 GB, free: 9.629 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.3864, allocations: 133.8 kB / 0.5962 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.3865, allocations: 7.906 kB / 0.5962 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.3873, allocations: 213.2 kB / 0.5964 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3873, allocations: 0 / 0.5964 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3873, allocations: 4 kB / 0.5964 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3874, allocations: 0 / 0.5964 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.3899, allocations: 0.9856 MB / 0.5973 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.39, allocations: 4 kB / 0.5973 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.3904, allocations: 27.92 kB / 0.5974 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.091e-05/0.3904, allocations: 8.062 kB / 0.5974 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.3905, allocations: 3.984 kB / 0.5974 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.3905, allocations: 4 kB / 0.5974 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3905, allocations: 0 / 0.5974 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3915, allocations: 323.3 kB / 0.5977 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.3917, allocations: 100.9 kB / 0.5978 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.3918, allocations: 8 kB / 0.5978 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.3922, allocations: 11.98 kB / 0.5978 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.3923, allocations: 23.91 kB / 0.5978 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.3924, allocations: 4 kB / 0.5978 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001957/0.3926, allocations: 122.9 kB / 0.5979 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.31e-07/0.3926, allocations: 0 / 0.5979 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001019/0.3936, allocations: 123.9 kB / 0.5981 GB, free: 7.328 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 (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.002385/0.3961, allocations: 1.112 MB / 0.5992 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008633/0.3969, allocations: 179.9 kB / 0.5993 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.397, allocations: 0 / 0.5993 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.3973, allocations: 91.83 kB / 0.5994 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.3979, allocations: 40.12 kB / 0.5995 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.4015, allocations: 1.187 MB / 0.6006 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.4021, allocations: 0.7128 MB / 0.6013 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000344/0.4025, allocations: 34.58 kB / 0.6013 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.4027, allocations: 43.36 kB / 0.6014 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.174e-06/0.4027, allocations: 0 / 0.6014 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6261/1.029, allocations: 5.586 MB / 0.6068 GB, free: 48.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/1.029, allocations: 201.8 kB / 0.607 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/4.633, allocations: 0 / 0.607 GB, free: 48.39 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/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) Environment - environmentSimulation: