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.433/1.433, allocations: 252 MB / 267 MB, free: 10.98 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.001179/0.001179, allocations: 182.7 kB / 326.6 MB, free: 2.246 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.859/1.859, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0008272/0.0008274, allocations: 83.34 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004388, allocations: 11.53 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2496, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002132/0.2518, allocations: 1.694 MB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.2539, allocations: 1.884 MB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.254, allocations: 4 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.2541, allocations: 15.84 kB / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2542, allocations: 47.67 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.255, allocations: 366.6 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.2552, allocations: 199.2 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2553, allocations: 45.62 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.2554, allocations: 71.78 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.2556, allocations: 75.73 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2556, allocations: 8 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.2562, allocations: 467.2 kB / 0.905 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.2563, allocations: 27.91 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.2563, allocations: 53.64 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.2568, allocations: 383.4 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2568, allocations: 4 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2568, allocations: 0 / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2568, allocations: 0 / 0.9055 GB, free: 59.02 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.0008098/0.2576, allocations: 0.5146 MB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2577, allocations: 12.03 kB / 0.906 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.2578, allocations: 54.55 kB / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.2583, allocations: 99.7 kB / 0.9062 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2584, allocations: 178.8 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.2585, allocations: 53.69 kB / 0.9064 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2586, allocations: 12 kB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.259, allocations: 197.4 kB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.259, allocations: 0 / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.259, allocations: 4 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.259, allocations: 4 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.2594, allocations: 183.9 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.2606, allocations: 0.9149 MB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.2611, allocations: 186.5 kB / 0.9078 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2613, allocations: 88.81 kB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005372/0.2618, allocations: 0.522 MB / 0.9084 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2619, allocations: 38.56 kB / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.2619, allocations: 0 / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0006554/0.2626, allocations: 249.3 kB / 0.9087 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.2626, allocations: 55.41 kB / 0.9087 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2627, allocations: 160.5 kB / 0.9089 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2627, allocations: 33.7 kB / 0.9089 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2628, allocations: 111.8 kB / 0.909 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2628, allocations: 47.36 kB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.2629, allocations: 4 kB / 0.9091 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.2629, allocations: 322.8 kB / 0.9094 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.2631, allocations: 79.95 kB / 0.9095 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2633, allocations: 96.08 kB / 0.9096 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2635, allocations: 79.92 kB / 0.9096 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2635, allocations: 0 / 0.9096 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004225/0.2639, allocations: 223.4 kB / 0.9099 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.264, allocations: 8 kB / 0.9099 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.264, allocations: 0 / 0.9099 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.264, allocations: 0 / 0.9099 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.2642, allocations: 44 kB / 0.9099 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2643, allocations: 3.938 kB / 0.9099 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.2644, allocations: 27.83 kB / 0.9099 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2645, allocations: 7.938 kB / 0.9099 GB, free: 54.03 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.225e-05/0.2646, allocations: 121.8 kB / 0.9101 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.2646, allocations: 27.75 kB / 0.9101 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.2651, allocations: 205.6 kB / 0.9103 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2651, allocations: 3.984 kB / 0.9103 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2651, allocations: 4 kB / 0.9103 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2651, allocations: 3.984 kB / 0.9103 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.2663, allocations: 0.9818 MB / 0.9112 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2663, allocations: 0 / 0.9112 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2665, allocations: 31.97 kB / 0.9113 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.2665, allocations: 4 kB / 0.9113 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2665, allocations: 8 kB / 0.9113 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2665, allocations: 7.938 kB / 0.9113 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2665, allocations: 4.062 kB / 0.9113 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.267, allocations: 301 kB / 0.9116 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.267, allocations: 96.84 kB / 0.9117 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.267, allocations: 4 kB / 0.9117 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2673, allocations: 15.98 kB / 0.9117 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.2673, allocations: 15.97 kB / 0.9117 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.2673, allocations: 4 kB / 0.9117 GB, free: 52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.2674, allocations: 122.6 kB / 0.9118 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.092e-06/0.2674, allocations: 8 kB / 0.9118 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004502/0.2679, allocations: 167.8 kB / 0.912 GB, free: 51.71 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.0009577/0.2688, allocations: 1.004 MB / 0.913 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.2693, allocations: 184.8 kB / 0.9132 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2693, allocations: 0 / 0.9132 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.2695, allocations: 91.83 kB / 0.9132 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2699, allocations: 44.16 kB / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2715, allocations: 1.061 MB / 0.9143 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2716, allocations: 0.7203 MB / 0.915 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.2718, allocations: 30.55 kB / 0.9151 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.2719, allocations: 39.42 kB / 0.9151 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2719, allocations: 0 / 0.9151 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.2873, allocations: 5.811 MB / 0.9208 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.2875, allocations: 214.9 kB / 0.921 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.213, allocations: 0 / 0.921 GB, free: 42.6 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)