Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 213.8 kB / 22.99 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002676/0.002676, allocations: 284 kB / 313.5 MB, free: 2.695 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 109.9 kB / 0.7407 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1828, allocations: 95.38 MB / 0.8339 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003555/0.1864, allocations: 1.959 MB / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.1891, allocations: 1.527 MB / 0.8373 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.1892, allocations: 0 / 0.8373 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.964e-05/0.1893, allocations: 23.78 kB / 0.8373 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1894, allocations: 47.55 kB / 0.8373 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1905, allocations: 362.8 kB / 0.8377 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.1907, allocations: 219.1 kB / 0.8379 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1909, allocations: 45.33 kB / 0.8379 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.191, allocations: 83.77 kB / 0.838 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.1911, allocations: 71.69 kB / 0.8381 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.1912, allocations: 27.92 kB / 0.8381 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008158/0.192, allocations: 407.5 kB / 0.8385 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.1921, allocations: 39.91 kB / 0.8385 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.1921, allocations: 83.7 kB / 0.8386 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.1928, allocations: 434.6 kB / 0.839 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1928, allocations: 0 / 0.839 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1928, allocations: 0 / 0.839 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.1928, allocations: 0 / 0.839 GB, free: 2.492 MB / 0.5762 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.0008762/0.1937, allocations: 461.2 kB / 0.8395 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1937, allocations: 8.75 kB / 0.8395 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.1943, allocations: 92.73 kB / 0.8396 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1944, allocations: 126.3 kB / 0.8397 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.1945, allocations: 71.97 kB / 0.8398 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.1946, allocations: 20.38 kB / 0.8398 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.1951, allocations: 242.7 kB / 0.84 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1951, allocations: 3.938 kB / 0.84 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.1951, allocations: 4 kB / 0.84 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1951, allocations: 4 kB / 0.84 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.1954, allocations: 131.9 kB / 0.8401 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1968, allocations: 0.5874 MB / 0.8407 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.1989, allocations: 322.2 kB / 0.841 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1991, allocations: 80.81 kB / 0.8411 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.1995, allocations: 79.84 kB / 0.8412 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1996, allocations: 30.84 kB / 0.8412 GB, free: 120 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.1996, allocations: 4 kB / 0.8412 GB, free: 116 kB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001686/0.2012, allocations: 387.3 kB / 0.8416 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.2013, allocations: 55.41 kB / 0.8416 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2014, allocations: 133.9 kB / 0.8418 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2015, allocations: 29.7 kB / 0.8418 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2016, allocations: 120.3 kB / 0.8419 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.2016, allocations: 55.53 kB / 0.842 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.2017, allocations: 37.7 kB / 0.842 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2018, allocations: 322.8 kB / 0.8423 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.2021, allocations: 79.95 kB / 0.8424 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.2023, allocations: 86.02 kB / 0.8425 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.2027, allocations: 164.6 kB / 0.8426 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2027, allocations: 0 / 0.8426 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009005/0.2036, allocations: 288.8 kB / 0.8429 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2036, allocations: 8 kB / 0.8429 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2037, allocations: 7.984 kB / 0.8429 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.2042, allocations: 123.1 kB / 0.843 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.2055, allocations: 103.9 kB / 0.8431 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009274/0.2064, allocations: 0.6265 MB / 0.8437 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.2066, allocations: 27.92 kB / 0.8438 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.2066, allocations: 4 kB / 0.8438 GB, free: 13.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.2067, allocations: 128.7 kB / 0.8439 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.2068, allocations: 15.91 kB / 0.8439 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009013/0.2077, allocations: 290.8 kB / 0.8442 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2077, allocations: 0 / 0.8442 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2077, allocations: 0 / 0.8442 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2077, allocations: 4 kB / 0.8442 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.2095, allocations: 0.6471 MB / 0.8448 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2095, allocations: 8 kB / 0.8448 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.2107, allocations: 95.91 kB / 0.8449 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/0.2112, allocations: 124.7 kB / 0.845 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2112, allocations: 4 kB / 0.845 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008625/0.2121, allocations: 0.6265 MB / 0.8457 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2121, allocations: 0 / 0.8457 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.213, allocations: 369.8 kB / 0.846 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.213, allocations: 15.83 kB / 0.846 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.213, allocations: 0 / 0.846 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2132, allocations: 15.98 kB / 0.846 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.2133, allocations: 15.97 kB / 0.8461 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2133, allocations: 4 kB / 0.8461 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.2134, allocations: 102.9 kB / 0.8462 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2134, allocations: 0 / 0.8462 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004882/0.2138, allocations: 127.6 kB / 0.8463 GB, free: 10.73 MB / 0.5919 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004483/0.2143, allocations: 234.6 kB / 0.8465 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009379/0.2152, allocations: 223.7 kB / 0.8467 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2152, allocations: 0 / 0.8467 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.2158, allocations: 139.7 kB / 0.8468 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.2162, allocations: 36.03 kB / 0.8469 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.217, allocations: 366 kB / 0.8472 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2171, allocations: 90.78 kB / 0.8473 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.2172, allocations: 19.42 kB / 0.8473 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.2172, allocations: 4 kB / 0.8473 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.007558/0.2248, allocations: 4.19 MB / 0.8514 GB, free: 5.398 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.943461024202406] Failed to read output from testmodel.py, exit status != 0: 0.2325377087108791 0.24814645400000002 0.052178607 Calling exit ...