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.00104/0.00104, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5116/0.5116, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 343.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 109.7 kB / 416 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.508e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1495, allocations: 72.32 MB / 0.5536 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6539, allocations: 107.4 MB / 0.6585 GB, free: 2.672 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.6542, allocations: 86.5 kB / 0.6586 GB, free: 2.625 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.6785, allocations: 8.163 MB / 0.6665 GB, free: 11.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.6785, allocations: 4 kB / 0.6665 GB, free: 11.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.6785, allocations: 3.938 kB / 0.6665 GB, free: 11.64 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.0008212/0.6793, allocations: 0.4927 MB / 0.667 GB, free: 11.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.6794, allocations: 12.03 kB / 0.667 GB, free: 11.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.6799, allocations: 83.73 kB / 0.6671 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.68, allocations: 182.9 kB / 0.6673 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.6801, allocations: 37.7 kB / 0.6673 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.6801, allocations: 8 kB / 0.6673 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002445/0.6804, allocations: 141.9 kB / 0.6675 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.6806, allocations: 151 kB / 0.6676 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.6807, allocations: 0 / 0.6676 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.6807, allocations: 0 / 0.6676 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.6807, allocations: 11.98 kB / 0.6676 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.682, allocations: 0.8929 MB / 0.6685 GB, free: 9.637 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.6822, allocations: 133.6 kB / 0.6686 GB, free: 9.543 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.6823, allocations: 66.69 kB / 0.6687 GB, free: 9.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00071/0.6831, allocations: 0.5174 MB / 0.6692 GB, free: 8.875 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.6831, allocations: 34.56 kB / 0.6692 GB, free: 8.832 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.6831, allocations: 4 kB / 0.6692 GB, free: 8.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.001246/0.6844, allocations: 246.9 kB / 0.6695 GB, free: 8.625 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.6844, allocations: 51.41 kB / 0.6695 GB, free: 8.562 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.6845, allocations: 116.7 kB / 0.6696 GB, free: 8.453 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.6845, allocations: 29.7 kB / 0.6697 GB, free: 8.418 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.6846, allocations: 122.5 kB / 0.6698 GB, free: 8.297 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.6847, allocations: 49.53 kB / 0.6698 GB, free: 8.254 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.6847, allocations: 4 kB / 0.6698 GB, free: 8.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6848, allocations: 314.3 kB / 0.6701 GB, free: 7.938 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.6849, allocations: 61.86 kB / 0.6702 GB, free: 7.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.685, allocations: 76.78 kB / 0.6703 GB, free: 7.848 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.6861, allocations: 173 kB / 0.6704 GB, free: 7.707 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6861, allocations: 0 / 0.6704 GB, free: 7.707 MB / 474.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001267/0.6874, allocations: 294.7 kB / 0.6707 GB, free: 7.469 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6874, allocations: 4 kB / 0.6707 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6874, allocations: 0 / 0.6707 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6874, allocations: 4 kB / 0.6707 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.6877, allocations: 39.91 kB / 0.6707 GB, free: 7.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6877, allocations: 0.7031 kB / 0.6707 GB, free: 7.422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.6879, allocations: 31.42 kB / 0.6708 GB, free: 7.395 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.6879, allocations: 7.984 kB / 0.6708 GB, free: 7.387 MB / 474.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 () * 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 8.204e-05/0.688, allocations: 104.9 kB / 0.6709 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001184/0.6892, allocations: 257.2 kB / 0.6711 GB, free: 7.062 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.6893, allocations: 15.62 kB / 0.6711 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.6905, allocations: 273.2 kB / 0.6714 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6905, allocations: 0 / 0.6714 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.6905, allocations: 0 / 0.6714 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6905, allocations: 3.984 kB / 0.6714 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.6926, allocations: 1.021 MB / 0.6724 GB, free: 5.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6926, allocations: 0 / 0.6724 GB, free: 5.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.6929, allocations: 35.91 kB / 0.6724 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.6929, allocations: 4 kB / 0.6724 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.6929, allocations: 4.062 kB / 0.6724 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6929, allocations: 0 / 0.6724 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6929, allocations: 4 kB / 0.6725 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.6942, allocations: 391.1 kB / 0.6728 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.6942, allocations: 85.02 kB / 0.6729 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.6943, allocations: 4 kB / 0.6729 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.6945, allocations: 23.92 kB / 0.6729 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.6945, allocations: 11.86 kB / 0.6729 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.6946, allocations: 4 kB / 0.6729 GB, free: 5.195 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.349e-05/0.6946, allocations: 97.27 kB / 0.673 GB, free: 5.105 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6946, allocations: 4 kB / 0.673 GB, free: 5.102 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005187/0.6952, allocations: 139.3 kB / 0.6732 GB, free: 4.969 MB / 474.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) * 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.002044/0.6972, allocations: 1.19 MB / 0.6743 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.6975, allocations: 140.2 kB / 0.6745 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6975, allocations: 0 / 0.6745 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.6976, allocations: 65.06 kB / 0.6745 GB, free: 3.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6979, allocations: 27.47 kB / 0.6746 GB, free: 3.637 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.6986, allocations: 270.8 kB / 0.6748 GB, free: 3.355 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.6989, allocations: 0.7084 MB / 0.6755 GB, free: 2.621 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.6991, allocations: 29.47 kB / 0.6755 GB, free: 2.594 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.6992, allocations: 40.61 kB / 0.6756 GB, free: 2.574 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6992, allocations: 0 / 0.6756 GB, free: 2.574 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.7252, allocations: 4.41 MB / 0.6799 GB, free: 14.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.7255, allocations: 160.7 kB / 0.68 GB, free: 14.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.428, allocations: 0 / 0.68 GB, free: 14.01 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)