Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7094/0.7094, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 173.9 kB / 187.3 MB, free: 11.92 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.0008104/0.0008104, allocations: 95.08 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001615/0.001615, allocations: 274.4 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.776e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3421, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.4504, allocations: 115.2 MB / 0.8768 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.4507, allocations: 83.95 kB / 0.8769 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.4722, allocations: 8.2 MB / 0.8849 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4722, allocations: 0 / 0.8849 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4722, allocations: 4 kB / 0.8849 GB, free: 1.102 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.0006113/0.4728, allocations: 0.4903 MB / 0.8854 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4729, allocations: 12.02 kB / 0.8854 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.4729, allocations: 46.56 kB / 0.8855 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.4734, allocations: 88.5 kB / 0.8855 GB, free: 420 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4735, allocations: 178.8 kB / 0.8857 GB, free: 200 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.4736, allocations: 49.69 kB / 0.8858 GB, free: 144 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4736, allocations: 16 kB / 0.8858 GB, free: 128 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.4739, allocations: 165.5 kB / 0.8859 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4739, allocations: 0 / 0.8859 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.474, allocations: 16 kB / 0.8859 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.474, allocations: 4 kB / 0.886 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.4742, allocations: 151.8 kB / 0.8861 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.4754, allocations: 0.9345 MB / 0.887 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.4757, allocations: 138.5 kB / 0.8871 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/0.4758, allocations: 64.86 kB / 0.8872 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.4764, allocations: 0.5181 MB / 0.8877 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4764, allocations: 38.56 kB / 0.8877 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.4764, allocations: 0 / 0.8877 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.0002983/0.4767, allocations: 145.5 kB / 0.8879 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.4767, allocations: 59.34 kB / 0.8879 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4769, allocations: 148 kB / 0.8881 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4769, allocations: 29.7 kB / 0.8881 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.4769, allocations: 115.8 kB / 0.8882 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.477, allocations: 55.28 kB / 0.8883 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.477, allocations: 0 / 0.8883 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.4771, allocations: 326.8 kB / 0.8886 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.4772, allocations: 56 kB / 0.8886 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4773, allocations: 82.91 kB / 0.8887 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4774, allocations: 53.7 kB / 0.8888 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4775, allocations: 3.953 kB / 0.8888 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002767/0.4777, allocations: 185.5 kB / 0.889 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4778, allocations: 11.89 kB / 0.889 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4778, allocations: 0 / 0.889 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4778, allocations: 4 kB / 0.889 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.478, allocations: 39.97 kB / 0.889 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4781, allocations: 0 / 0.889 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.4782, allocations: 23.83 kB / 0.889 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.4783, allocations: 8 kB / 0.889 GB, free: 12.47 MB / 0.5573 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 7.08e-05/0.4783, allocations: 120.9 kB / 0.8891 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.4784, allocations: 15.81 kB / 0.8892 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.4787, allocations: 176.8 kB / 0.8893 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4787, allocations: 0 / 0.8893 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4787, allocations: 0 / 0.8893 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4787, allocations: 0 / 0.8893 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4798, allocations: 0.9544 MB / 0.8903 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4798, allocations: 0 / 0.8903 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.48, allocations: 35.97 kB / 0.8903 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.48, allocations: 4.062 kB / 0.8903 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.48, allocations: 4 kB / 0.8903 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.48, allocations: 3.984 kB / 0.8903 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.48, allocations: 3.938 kB / 0.8903 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.4803, allocations: 292.5 kB / 0.8906 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.4804, allocations: 93 kB / 0.8907 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4804, allocations: 0 / 0.8907 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.4806, allocations: 19.98 kB / 0.8907 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4807, allocations: 11.97 kB / 0.8907 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4807, allocations: 8 kB / 0.8907 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.38e-05/0.4808, allocations: 119.3 kB / 0.8908 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.502e-06/0.4808, allocations: 4 kB / 0.8908 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003851/0.4812, allocations: 139.7 kB / 0.891 GB, free: 10.28 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) * 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.000841/0.482, allocations: 1.085 MB / 0.892 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.4823, allocations: 159.4 kB / 0.8922 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4823, allocations: 0 / 0.8922 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4824, allocations: 67.94 kB / 0.8922 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.4827, allocations: 39.91 kB / 0.8923 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.4832, allocations: 289.1 kB / 0.8926 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.4835, allocations: 0.7129 MB / 0.8933 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.4836, allocations: 29.53 kB / 0.8933 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.4837, allocations: 39.42 kB / 0.8933 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.4837, allocations: 0 / 0.8933 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.4992, allocations: 5.4 MB / 0.8986 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.4995, allocations: 194.3 kB / 0.8988 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.117, allocations: 0 / 0.8988 GB, free: 2.371 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)