Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 193.9 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008587/0.000859, allocations: 89.34 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004934, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2627, allocations: 106.3 MB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002103/0.2649, allocations: 1.629 MB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2671, allocations: 1.795 MB / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.2672, allocations: 0 / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.2672, allocations: 11.91 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.2674, allocations: 63.8 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.2683, allocations: 366.8 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2684, allocations: 139.7 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2686, allocations: 45.64 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.2687, allocations: 71.77 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2689, allocations: 79.69 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2689, allocations: 8 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000642/0.2695, allocations: 491.3 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.2696, allocations: 31.91 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.2696, allocations: 49.64 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.2701, allocations: 379.5 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2701, allocations: 0 / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2701, allocations: 0 / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2701, allocations: 0 / 0.9052 GB, free: 58.61 MB / 0.6042 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.0007369/0.2709, allocations: 0.5224 MB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.2709, allocations: 8.031 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.271, allocations: 50.55 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/0.2716, allocations: 99.72 kB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2717, allocations: 182.8 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.2718, allocations: 45.7 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2718, allocations: 12 kB / 0.906 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.2722, allocations: 197.4 kB / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2722, allocations: 0 / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.2722, allocations: 4 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2722, allocations: 4 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.2727, allocations: 187.9 kB / 0.9064 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2739, allocations: 0.911 MB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.2743, allocations: 196.5 kB / 0.9075 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/0.2748, allocations: 0.522 MB / 0.908 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2749, allocations: 34.56 kB / 0.908 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2749, allocations: 0 / 0.908 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0006385/0.2755, allocations: 257.6 kB / 0.9083 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.2756, allocations: 55.36 kB / 0.9083 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2757, allocations: 165.9 kB / 0.9085 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2757, allocations: 25.7 kB / 0.9085 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.2758, allocations: 119.8 kB / 0.9086 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2758, allocations: 43.36 kB / 0.9087 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.2758, allocations: 4 kB / 0.9087 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.2759, allocations: 326.8 kB / 0.909 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2761, allocations: 79.95 kB / 0.9091 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.2763, allocations: 99.91 kB / 0.9092 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.2764, allocations: 67.97 kB / 0.9092 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2764, allocations: 3.953 kB / 0.9092 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004192/0.2769, allocations: 223.4 kB / 0.9094 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2769, allocations: 11.95 kB / 0.9095 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2769, allocations: 0 / 0.9095 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2769, allocations: 0 / 0.9095 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.2772, allocations: 39.97 kB / 0.9095 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2772, allocations: 3.938 kB / 0.9095 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.2774, allocations: 35.8 kB / 0.9095 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2774, allocations: 4 kB / 0.9095 GB, free: 53.71 MB / 0.6042 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.477e-05/0.2775, allocations: 129.8 kB / 0.9097 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.2775, allocations: 15.81 kB / 0.9097 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.278, allocations: 213.1 kB / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.278, allocations: 0 / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.278, allocations: 0 / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.278, allocations: 7.984 kB / 0.9099 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.2791, allocations: 0.9818 MB / 0.9108 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2792, allocations: 0 / 0.9108 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.2793, allocations: 35.97 kB / 0.9109 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2794, allocations: 4 kB / 0.9109 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2794, allocations: 0 / 0.9109 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2794, allocations: 7.938 kB / 0.9109 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2794, allocations: 0 / 0.9109 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.2798, allocations: 312.5 kB / 0.9112 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.2799, allocations: 100.8 kB / 0.9113 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.2799, allocations: 8 kB / 0.9113 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2801, allocations: 19.97 kB / 0.9113 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.2801, allocations: 7.984 kB / 0.9113 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2802, allocations: 8 kB / 0.9113 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.2802, allocations: 119.2 kB / 0.9114 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2802, allocations: 3.938 kB / 0.9114 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004808/0.2807, allocations: 175.8 kB / 0.9116 GB, free: 51.36 MB / 0.6042 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.0009581/0.2817, allocations: 1.155 MB / 0.9127 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.2821, allocations: 187.8 kB / 0.9129 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2821, allocations: 3.938 kB / 0.9129 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2823, allocations: 87.89 kB / 0.913 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2826, allocations: 47.11 kB / 0.913 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.2842, allocations: 1.203 MB / 0.9142 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.2843, allocations: 0.7202 MB / 0.9149 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.2845, allocations: 34.42 kB / 0.915 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.2846, allocations: 47.42 kB / 0.915 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2846, allocations: 0 / 0.915 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.3014, allocations: 5.777 MB / 0.9206 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.3016, allocations: 213.5 kB / 0.9208 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.976, allocations: 0 / 0.9208 GB, free: 41.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)