Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.4 MB / 303.6 MB, free: 8.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 184.5 kB / 372.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 0.631 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000844/0.0008444, allocations: 108.5 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004343, allocations: 20.06 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2206, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001718/0.2224, allocations: 1.683 MB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.224, allocations: 1.555 MB / 0.9834 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.2241, allocations: 11.94 kB / 0.9834 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.2241, allocations: 7.922 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.534e-05/0.2242, allocations: 43.61 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.2249, allocations: 271.2 kB / 0.9837 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.2251, allocations: 195.2 kB / 0.9839 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2252, allocations: 41.48 kB / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.2253, allocations: 71.77 kB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2254, allocations: 75.73 kB / 0.984 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2254, allocations: 8 kB / 0.9841 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.226, allocations: 387.5 kB / 0.9844 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.2261, allocations: 27.91 kB / 0.9844 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.2261, allocations: 105.4 kB / 0.9845 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.2264, allocations: 315.5 kB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2265, allocations: 0 / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2265, allocations: 0 / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2265, allocations: 0 / 0.9848 GB, free: 22.48 MB / 0.6198 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.0006456/0.2271, allocations: 499.2 kB / 0.9853 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2272, allocations: 8.031 kB / 0.9853 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.2272, allocations: 50.73 kB / 0.9854 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/0.2277, allocations: 100.7 kB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.2278, allocations: 184.1 kB / 0.9857 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.2279, allocations: 50.25 kB / 0.9857 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.2279, allocations: 16.31 kB / 0.9857 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.2283, allocations: 189.8 kB / 0.9859 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2283, allocations: 0 / 0.9859 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2284, allocations: 8 kB / 0.9859 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2284, allocations: 7.984 kB / 0.9859 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.2288, allocations: 195.8 kB / 0.9861 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.2299, allocations: 0.907 MB / 0.987 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.2303, allocations: 178.6 kB / 0.9872 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2305, allocations: 84.77 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005145/0.231, allocations: 0.5223 MB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2311, allocations: 38.56 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2311, allocations: 0 / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0006348/0.2317, allocations: 250.8 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.2318, allocations: 55.41 kB / 0.9881 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.2319, allocations: 154.5 kB / 0.9882 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2319, allocations: 37.64 kB / 0.9883 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.2319, allocations: 111.8 kB / 0.9884 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.232, allocations: 55.28 kB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.232, allocations: 0 / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.2321, allocations: 326.8 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2322, allocations: 75.91 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2324, allocations: 105.6 kB / 0.9889 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.2328, allocations: 156.7 kB / 0.9891 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2328, allocations: 0 / 0.9891 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004284/0.2332, allocations: 225.4 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2332, allocations: 8 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2332, allocations: 3.938 kB / 0.9893 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2333, allocations: 0 / 0.9893 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2335, allocations: 39.97 kB / 0.9893 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2335, allocations: 3.938 kB / 0.9893 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.2337, allocations: 23.83 kB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2337, allocations: 15.98 kB / 0.9894 GB, free: 17.43 MB / 0.6198 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 8.775e-05/0.2338, allocations: 121.8 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.2338, allocations: 11.91 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.2343, allocations: 218.3 kB / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2343, allocations: 0 / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2344, allocations: 0 / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2344, allocations: 4 kB / 0.9897 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.2355, allocations: 0.9741 MB / 0.9906 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2355, allocations: 0 / 0.9906 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2357, allocations: 43.97 kB / 0.9907 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2357, allocations: 4 kB / 0.9907 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2357, allocations: 4 kB / 0.9907 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2357, allocations: 7.938 kB / 0.9907 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2358, allocations: 0 / 0.9907 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.2362, allocations: 297 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.2362, allocations: 96.94 kB / 0.9911 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.2362, allocations: 4 kB / 0.9911 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.2364, allocations: 19.97 kB / 0.9911 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.2365, allocations: 19.92 kB / 0.9911 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2365, allocations: 7.984 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.2366, allocations: 122.7 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2366, allocations: 3.938 kB / 0.9913 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003942/0.237, allocations: 127.8 kB / 0.9914 GB, free: 15.16 MB / 0.6198 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.0008308/0.2378, allocations: 0.9404 MB / 0.9923 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.2383, allocations: 189.2 kB / 0.9925 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2383, allocations: 3.938 kB / 0.9925 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.2384, allocations: 83.91 kB / 0.9926 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.2388, allocations: 56.69 kB / 0.9926 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2403, allocations: 1.029 MB / 0.9936 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2405, allocations: 0.7125 MB / 0.9943 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.2406, allocations: 30.17 kB / 0.9943 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.2407, allocations: 47.41 kB / 0.9944 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2407, allocations: 0 / 0.9944 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.2643, allocations: 5.65 MB / 0.9999 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.2646, allocations: 227.9 kB / 1 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.074, allocations: 4 kB / 1 GB, free: 6.273 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)