Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_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.001274/0.001274, allocations: 181.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5017/0.5017, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.1 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 100.3 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2099, allocations: 72.31 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5904/0.8004, allocations: 108.1 MB / 0.6745 GB, free: 12.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.8007, allocations: 83.95 kB / 0.6746 GB, free: 12.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02378/0.8245, allocations: 8.244 MB / 0.6826 GB, free: 3.973 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.8245, allocations: 0 / 0.6826 GB, free: 3.973 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.8246, allocations: 0 / 0.6826 GB, free: 3.973 MB / 474.7 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.000922/0.8255, allocations: 0.4994 MB / 0.6831 GB, free: 3.422 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8255, allocations: 8.031 kB / 0.6831 GB, free: 3.414 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.8256, allocations: 58.55 kB / 0.6832 GB, free: 3.348 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/0.8261, allocations: 87.72 kB / 0.6833 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.8263, allocations: 182.9 kB / 0.6834 GB, free: 3.043 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.755e-05/0.8264, allocations: 49.69 kB / 0.6835 GB, free: 2.988 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.8264, allocations: 12 kB / 0.6835 GB, free: 2.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.8268, allocations: 185.8 kB / 0.6837 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8268, allocations: 0 / 0.6837 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.8269, allocations: 4 kB / 0.6837 GB, free: 2.785 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8269, allocations: 4 kB / 0.6837 GB, free: 2.781 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.8273, allocations: 187.9 kB / 0.6839 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.8289, allocations: 0.946 MB / 0.6848 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.8294, allocations: 186.5 kB / 0.685 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.8301, allocations: 0.5181 MB / 0.6855 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.8301, allocations: 38.56 kB / 0.6855 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.8301, allocations: 0 / 0.6855 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.000706/0.8309, allocations: 246.3 kB / 0.6857 GB, free: 420 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.8309, allocations: 55.41 kB / 0.6858 GB, free: 352 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.831, allocations: 145.6 kB / 0.6859 GB, free: 200 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.8311, allocations: 29.7 kB / 0.686 GB, free: 164 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.8312, allocations: 119.8 kB / 0.6861 GB, free: 40 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.8312, allocations: 43.47 kB / 0.6861 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.8313, allocations: 4 kB / 0.6861 GB, free: 15.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8314, allocations: 322.8 kB / 0.6864 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.8316, allocations: 79.95 kB / 0.6865 GB, free: 15.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.8319, allocations: 107.5 kB / 0.6866 GB, free: 15.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.8321, allocations: 67.98 kB / 0.6867 GB, free: 15.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8321, allocations: 0 / 0.6867 GB, free: 15.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005039/0.8326, allocations: 219.7 kB / 0.6869 GB, free: 15.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8326, allocations: 8 kB / 0.6869 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.8326, allocations: 4 kB / 0.6869 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.8327, allocations: 4.031 kB / 0.6869 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.8329, allocations: 39.97 kB / 0.6869 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.8329, allocations: 7.922 kB / 0.6869 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.8331, allocations: 31.73 kB / 0.687 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.8332, allocations: 4 kB / 0.687 GB, free: 15.1 MB / 490.7 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.0001295/0.8333, allocations: 125.7 kB / 0.6871 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.8333, allocations: 15.91 kB / 0.6871 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.8339, allocations: 209.4 kB / 0.6873 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8339, allocations: 4 kB / 0.6873 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.8339, allocations: 4 kB / 0.6873 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8339, allocations: 0 / 0.6873 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.8354, allocations: 0.9823 MB / 0.6883 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.8354, allocations: 0 / 0.6883 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.8357, allocations: 31.97 kB / 0.6883 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8357, allocations: 4 kB / 0.6883 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.8357, allocations: 4 kB / 0.6883 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8357, allocations: 7.938 kB / 0.6883 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8357, allocations: 4.062 kB / 0.6883 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.8362, allocations: 324.5 kB / 0.6886 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.8363, allocations: 96.94 kB / 0.6887 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.8364, allocations: 3.953 kB / 0.6887 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.8366, allocations: 23.97 kB / 0.6888 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.8367, allocations: 7.984 kB / 0.6888 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.8367, allocations: 8 kB / 0.6888 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.8368, allocations: 121.3 kB / 0.6889 GB, free: 12.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8368, allocations: 3.938 kB / 0.6889 GB, free: 12.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005265/0.8373, allocations: 139.7 kB / 0.689 GB, free: 12.78 MB / 490.7 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.00132/0.8387, allocations: 1.112 MB / 0.6901 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.8391, allocations: 184 kB / 0.6903 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8392, allocations: 0 / 0.6903 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.8394, allocations: 99.66 kB / 0.6904 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.8397, allocations: 40.16 kB / 0.6904 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.8417, allocations: 1.183 MB / 0.6916 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.842, allocations: 0.7166 MB / 0.6923 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.8422, allocations: 33.69 kB / 0.6923 GB, free: 9.293 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.8423, allocations: 43.41 kB / 0.6923 GB, free: 9.25 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.8423, allocations: 0 / 0.6923 GB, free: 9.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.8595, allocations: 5.395 MB / 0.6976 GB, free: 4.066 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.8598, allocations: 203.5 kB / 0.6978 GB, free: 3.824 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.616, allocations: 0 / 0.6978 GB, free: 3.824 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)