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.8563/0.8563, allocations: 143.3 MB / 158.3 MB, free: 5.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 189 kB / 191.5 MB, free: 5.746 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.703/1.703, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0008805/0.0008807, allocations: 100.2 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001889, allocations: 273.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 16.58 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1724, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5785/0.7509, allocations: 115.2 MB / 0.8863 GB, free: 22 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.7512, allocations: 87.58 kB / 0.8864 GB, free: 22 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02562/0.7768, allocations: 8.226 MB / 0.8944 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7769, allocations: 4 kB / 0.8944 GB, free: 21.26 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.7769, allocations: 2.531 kB / 0.8944 GB, free: 21.26 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.0008739/0.7778, allocations: 0.4969 MB / 0.8949 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.7778, allocations: 10.02 kB / 0.8949 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.676e-05/0.7779, allocations: 49.66 kB / 0.895 GB, free: 20.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.7784, allocations: 91.42 kB / 0.8951 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.7785, allocations: 185.7 kB / 0.8952 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/0.7786, allocations: 50.89 kB / 0.8953 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.7786, allocations: 14.56 kB / 0.8953 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.7791, allocations: 177 kB / 0.8955 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.7791, allocations: 0.6562 kB / 0.8955 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.7791, allocations: 7.953 kB / 0.8955 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.7792, allocations: 3.875 kB / 0.8955 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.7796, allocations: 196.4 kB / 0.8957 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.7809, allocations: 0.9507 MB / 0.8966 GB, free: 19.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.7814, allocations: 181 kB / 0.8968 GB, free: 19.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/0.782, allocations: 0.5189 MB / 0.8973 GB, free: 19.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.782, allocations: 32.5 kB / 0.8973 GB, free: 19.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.782, allocations: 4 kB / 0.8973 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0007196/0.7828, allocations: 237.3 kB / 0.8975 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.7828, allocations: 61.98 kB / 0.8976 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.7829, allocations: 150.6 kB / 0.8977 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.783, allocations: 27.02 kB / 0.8978 GB, free: 18.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.783, allocations: 120.1 kB / 0.8979 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.7831, allocations: 49.31 kB / 0.8979 GB, free: 18.79 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.7831, allocations: 1.031 kB / 0.8979 GB, free: 18.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.7831, allocations: 326.2 kB / 0.8982 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.7834, allocations: 81.72 kB / 0.8983 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.7836, allocations: 93.94 kB / 0.8984 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.7838, allocations: 69.09 kB / 0.8985 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7838, allocations: 0 / 0.8985 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004755/0.7843, allocations: 226.2 kB / 0.8987 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7843, allocations: 12.92 kB / 0.8987 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7843, allocations: 1.156 kB / 0.8987 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7843, allocations: 0.5625 kB / 0.8987 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.7846, allocations: 45.72 kB / 0.8987 GB, free: 18.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.7846, allocations: 1.312 kB / 0.8987 GB, free: 18.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.7848, allocations: 25.23 kB / 0.8988 GB, free: 18.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.7848, allocations: 8.031 kB / 0.8988 GB, free: 18.39 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 9.51e-05/0.785, allocations: 127.4 kB / 0.8989 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.785, allocations: 14.56 kB / 0.8989 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.7855, allocations: 215.1 kB / 0.8991 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7855, allocations: 1.656 kB / 0.8991 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7855, allocations: 0.5 kB / 0.8991 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7856, allocations: 6.469 kB / 0.8991 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.7869, allocations: 0.9817 MB / 0.9001 GB, free: 17.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.787, allocations: 0 / 0.9001 GB, free: 17.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.7872, allocations: 39 kB / 0.9001 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.7872, allocations: 1.5 kB / 0.9001 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.7872, allocations: 2.469 kB / 0.9001 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7872, allocations: 4.094 kB / 0.9001 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7872, allocations: 0.9375 kB / 0.9001 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.7877, allocations: 337.6 kB / 0.9004 GB, free: 17.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.7878, allocations: 100.8 kB / 0.9005 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.7878, allocations: 6.219 kB / 0.9005 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.788, allocations: 14.55 kB / 0.9006 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.7881, allocations: 12.39 kB / 0.9006 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.7881, allocations: 7.25 kB / 0.9006 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.7882, allocations: 116.2 kB / 0.9007 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7882, allocations: 4 kB / 0.9007 GB, free: 17.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007193/0.7889, allocations: 137.6 kB / 0.9008 GB, free: 16.98 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) * 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.001053/0.79, allocations: 1.116 MB / 0.9019 GB, free: 16.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004754/0.7905, allocations: 182.4 kB / 0.9021 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.7905, allocations: 1.281 kB / 0.9021 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.7907, allocations: 88.02 kB / 0.9022 GB, free: 16.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.791, allocations: 40.92 kB / 0.9022 GB, free: 16.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.7934, allocations: 1.186 MB / 0.9034 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7937, allocations: 0.7163 MB / 0.9041 GB, free: 30.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.7939, allocations: 34.2 kB / 0.9041 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.794, allocations: 46.75 kB / 0.9041 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.794, allocations: 0 / 0.9041 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.8128, allocations: 5.415 MB / 0.9094 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.813, allocations: 210 kB / 0.9096 GB, free: 30.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.573, allocations: 4 kB / 0.9096 GB, free: 30.04 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)