Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_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.001347/0.001347, allocations: 100.5 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.00172/0.00172, allocations: 177.3 kB / 15.94 MB, free: 228 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.339/2.339, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.182/1.182, allocations: 132.3 MB / 423.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000593/0.000593, allocations: 13.81 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.857, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003353/0.8605, allocations: 1.608 MB / 0.5845 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.8641, allocations: 1.478 MB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.8642, allocations: 2.219 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.66e-05/0.8643, allocations: 12.66 kB / 0.586 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.8646, allocations: 57.28 kB / 0.5861 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.8661, allocations: 271.8 kB / 0.5863 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.8665, allocations: 143.6 kB / 0.5864 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.8667, allocations: 40.61 kB / 0.5865 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.8669, allocations: 67.12 kB / 0.5866 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.8671, allocations: 78.45 kB / 0.5866 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.8672, allocations: 9.844 kB / 0.5866 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.8687, allocations: 386.2 kB / 0.587 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.8687, allocations: 33.69 kB / 0.587 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.8689, allocations: 55.77 kB / 0.5871 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.8699, allocations: 311 kB / 0.5874 GB, free: 1.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8699, allocations: 0 / 0.5874 GB, free: 1.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8699, allocations: 4.625 kB / 0.5874 GB, free: 1.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.8699, allocations: 0 / 0.5874 GB, free: 1.258 MB / 430.1 MB 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.001221/0.8712, allocations: 496.5 kB / 0.5879 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.354e-05/0.8712, allocations: 13.66 kB / 0.5879 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.8714, allocations: 48 kB / 0.5879 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.8724, allocations: 98.5 kB / 0.588 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.8726, allocations: 177.4 kB / 0.5882 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.8728, allocations: 48.03 kB / 0.5882 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.8729, allocations: 13.78 kB / 0.5882 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.8737, allocations: 186.1 kB / 0.5884 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8737, allocations: 0 / 0.5884 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.8738, allocations: 9.969 kB / 0.5884 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.8738, allocations: 4.094 kB / 0.5884 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.8747, allocations: 189 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.8773, allocations: 0.9234 MB / 0.5895 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.8783, allocations: 185.7 kB / 0.5897 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.8793, allocations: 0.52 MB / 0.5902 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.8794, allocations: 32.25 kB / 0.5902 GB, free: 14.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.755e-06/0.8794, allocations: 0.9688 kB / 0.5902 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001287/0.8807, allocations: 252.2 kB / 0.5905 GB, free: 14.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.8808, allocations: 54.22 kB / 0.5905 GB, free: 14.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.8811, allocations: 154.9 kB / 0.5907 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.8812, allocations: 31.59 kB / 0.5907 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.8813, allocations: 122.9 kB / 0.5908 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/0.8814, allocations: 49.17 kB / 0.5909 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.8815, allocations: 9.375 kB / 0.5909 GB, free: 14.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.8817, allocations: 322.4 kB / 0.5912 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.8821, allocations: 81.38 kB / 0.5913 GB, free: 14.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.8825, allocations: 96.27 kB / 0.5914 GB, free: 13.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.8829, allocations: 77.94 kB / 0.5914 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8829, allocations: 0 / 0.5914 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00104/0.884, allocations: 219.5 kB / 0.5916 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.884, allocations: 10.06 kB / 0.5916 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.8841, allocations: 0 / 0.5916 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.8841, allocations: 2.062 kB / 0.5916 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.8846, allocations: 41.47 kB / 0.5917 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.8846, allocations: 1.375 kB / 0.5917 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.8849, allocations: 30.77 kB / 0.5917 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.885, allocations: 9.078 kB / 0.5917 GB, free: 13.81 MB / 446.1 MB 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.000237/0.8853, allocations: 125.2 kB / 0.5918 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.8854, allocations: 19.36 kB / 0.5919 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.8864, allocations: 202.5 kB / 0.5921 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.8864, allocations: 1.406 kB / 0.5921 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.8865, allocations: 0.8125 kB / 0.5921 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.8865, allocations: 1.938 kB / 0.5921 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.8895, allocations: 0.9884 MB / 0.593 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.8895, allocations: 1.156 kB / 0.593 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.8899, allocations: 38.31 kB / 0.5931 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.8899, allocations: 1.406 kB / 0.5931 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.89, allocations: 4.609 kB / 0.5931 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.89, allocations: 0 / 0.5931 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.89, allocations: 2.172 kB / 0.5931 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.8911, allocations: 328.9 kB / 0.5934 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.8913, allocations: 92.8 kB / 0.5935 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.8914, allocations: 6.375 kB / 0.5935 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.8918, allocations: 17.56 kB / 0.5935 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.8919, allocations: 15.33 kB / 0.5935 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.8919, allocations: 8.734 kB / 0.5935 GB, free: 12.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.8922, allocations: 124.4 kB / 0.5936 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8922, allocations: 0 / 0.5936 GB, free: 12.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00117/0.8934, allocations: 126.9 kB / 0.5938 GB, free: 12.18 MB / 446.1 MB 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.002523/0.8959, allocations: 1.113 MB / 0.5948 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008681/0.8968, allocations: 185.7 kB / 0.595 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.8968, allocations: 0 / 0.595 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.8972, allocations: 90.8 kB / 0.5951 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.8978, allocations: 41.94 kB / 0.5952 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.9018, allocations: 1.181 MB / 0.5963 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.9024, allocations: 0.7124 MB / 0.597 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003234/0.9028, allocations: 32.47 kB / 0.597 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.903, allocations: 50.27 kB / 0.5971 GB, free: 9.609 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.903, allocations: 0 / 0.5971 GB, free: 9.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.9343, allocations: 5.586 MB / 0.6025 GB, free: 7.449 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/0.9346, allocations: 194.2 kB / 0.6027 GB, free: 7.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/4.057, allocations: 0 / 0.6027 GB, free: 7.211 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: