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.006051/0.006051, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7541/0.7541, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.266/2.266, allocations: 223.2 MB / 406.8 MB, free: 3.203 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.001714/0.001714, allocations: 109.7 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006315, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9083, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2751/1.184, allocations: 117.9 MB / 0.7647 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004792/1.184, allocations: 87.94 kB / 0.7647 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03815/1.222, allocations: 8.219 MB / 0.7728 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.765e-06/1.222, allocations: 0 / 0.7728 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.222, allocations: 4 kB / 0.7728 GB, free: 5.719 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.001373/1.224, allocations: 0.4988 MB / 0.7733 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.189e-05/1.224, allocations: 8.031 kB / 0.7733 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/1.224, allocations: 51.23 kB / 0.7733 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/1.225, allocations: 87.78 kB / 0.7734 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/1.225, allocations: 186.8 kB / 0.7736 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.225, allocations: 49.62 kB / 0.7736 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/1.225, allocations: 16 kB / 0.7736 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/1.226, allocations: 183.1 kB / 0.7738 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.226, allocations: 0 / 0.7738 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/1.226, allocations: 8 kB / 0.7738 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.226, allocations: 7.938 kB / 0.7738 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/1.227, allocations: 191.7 kB / 0.774 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/1.229, allocations: 0.9231 MB / 0.7749 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/1.23, allocations: 182.6 kB / 0.7751 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.231, allocations: 0.5259 MB / 0.7756 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.231, allocations: 34.56 kB / 0.7756 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 3.818e-06/1.231, allocations: 0 / 0.7756 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001143/1.232, allocations: 260.3 kB / 0.7759 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/1.232, allocations: 55.39 kB / 0.7759 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/1.233, allocations: 150.5 kB / 0.7761 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/1.233, allocations: 25.7 kB / 0.7761 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.233, allocations: 123.6 kB / 0.7762 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/1.233, allocations: 47.36 kB / 0.7763 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/1.233, allocations: 0 / 0.7763 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.233, allocations: 326.8 kB / 0.7766 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/1.233, allocations: 75.95 kB / 0.7766 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/1.234, allocations: 100.4 kB / 0.7767 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/1.234, allocations: 71.92 kB / 0.7768 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.234, allocations: 0 / 0.7768 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007845/1.235, allocations: 221.4 kB / 0.777 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/1.235, allocations: 8 kB / 0.777 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.235, allocations: 0 / 0.777 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.235, allocations: 0 / 0.777 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.235, allocations: 47.91 kB / 0.7771 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.235, allocations: 0 / 0.7771 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/1.236, allocations: 31.77 kB / 0.7771 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/1.236, allocations: 11.92 kB / 0.7771 GB, free: 0.8477 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 () * 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.0001981/1.236, allocations: 127.5 kB / 0.7772 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/1.236, allocations: 15.86 kB / 0.7773 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/1.237, allocations: 214.3 kB / 0.7775 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.237, allocations: 0 / 0.7775 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.237, allocations: 0 / 0.7775 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.237, allocations: 0 / 0.7775 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/1.239, allocations: 0.9779 MB / 0.7784 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.239, allocations: 0 / 0.7784 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/1.24, allocations: 43.97 kB / 0.7785 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.24, allocations: 4 kB / 0.7785 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/1.24, allocations: 0 / 0.7785 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.24, allocations: 0 / 0.7785 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.24, allocations: 4 kB / 0.7785 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/1.241, allocations: 328.4 kB / 0.7788 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.241, allocations: 96.94 kB / 0.7789 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/1.241, allocations: 0 / 0.7789 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/1.241, allocations: 23.98 kB / 0.7789 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/1.241, allocations: 19.86 kB / 0.7789 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/1.241, allocations: 8 kB / 0.7789 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001667/1.241, allocations: 130.1 kB / 0.779 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.241, allocations: 0 / 0.779 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001013/1.242, allocations: 131.8 kB / 0.7792 GB, free: 14.53 MB / 0.5573 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.002196/1.245, allocations: 1.121 MB / 0.7803 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008834/1.246, allocations: 183.8 kB / 0.7804 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.246, allocations: 0 / 0.7804 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/1.246, allocations: 92.08 kB / 0.7805 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/1.247, allocations: 35.98 kB / 0.7806 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/1.25, allocations: 1.197 MB / 0.7817 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/1.25, allocations: 0.7167 MB / 0.7824 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00031/1.251, allocations: 25.91 kB / 0.7825 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/1.251, allocations: 43.36 kB / 0.7825 GB, free: 11 MB / 0.5573 GB Notification: Performance of SimCode: time 1.573e-06/1.251, allocations: 0 / 0.7825 GB, free: 11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/1.283, allocations: 5.383 MB / 0.7878 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003564/1.283, allocations: 200.4 kB / 0.7879 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/4.265, allocations: 0 / 0.7879 GB, free: 5.562 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)