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.001311/0.001311, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.001465/0.001465, allocations: 215.1 kB / 22.25 MB, free: 4.875 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.812 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.002727/0.002727, allocations: 279.6 kB / 312.7 MB, free: 2.719 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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.00298/0.00298, allocations: 102.5 kB / 0.74 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1698, allocations: 95.39 MB / 0.8331 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003314/0.1731, allocations: 1.969 MB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1757, allocations: 1.516 MB / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.1758, allocations: 4 kB / 0.8365 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.1759, allocations: 23.73 kB / 0.8366 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.176, allocations: 51.55 kB / 0.8366 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.177, allocations: 350.8 kB / 0.8369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1772, allocations: 227.1 kB / 0.8372 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1774, allocations: 41.56 kB / 0.8372 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1775, allocations: 87.7 kB / 0.8373 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1776, allocations: 75.67 kB / 0.8374 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.1777, allocations: 16 kB / 0.8374 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.1784, allocations: 407.5 kB / 0.8378 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.1785, allocations: 43.91 kB / 0.8378 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.1786, allocations: 71.72 kB / 0.8379 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.1792, allocations: 446.6 kB / 0.8383 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1792, allocations: 0 / 0.8383 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1792, allocations: 4 kB / 0.8383 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1792, allocations: 0 / 0.8383 GB, free: 2.461 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.0008451/0.1801, allocations: 457.2 kB / 0.8387 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1801, allocations: 12.75 kB / 0.8387 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000568/0.1807, allocations: 88.73 kB / 0.8388 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1808, allocations: 126.3 kB / 0.839 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.1809, allocations: 79.89 kB / 0.839 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1809, allocations: 12.38 kB / 0.839 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.1814, allocations: 243.3 kB / 0.8393 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1814, allocations: 3.938 kB / 0.8393 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.1815, allocations: 8 kB / 0.8393 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1815, allocations: 4 kB / 0.8393 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.1818, allocations: 127.9 kB / 0.8394 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.1832, allocations: 0.5951 MB / 0.84 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.1853, allocations: 318.3 kB / 0.8403 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.1855, allocations: 76.81 kB / 0.8404 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/0.186, allocations: 75.86 kB / 0.8404 GB, free: 136 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.186, allocations: 38.83 kB / 0.8405 GB, free: 88 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.186, allocations: 0 / 0.8405 GB, free: 88 kB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001695/0.1877, allocations: 382.1 kB / 0.8408 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1877, allocations: 51.41 kB / 0.8409 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1879, allocations: 140.6 kB / 0.841 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1879, allocations: 29.7 kB / 0.8411 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.188, allocations: 124.2 kB / 0.8412 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.188, allocations: 63.45 kB / 0.8412 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.1881, allocations: 37.7 kB / 0.8413 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1883, allocations: 322.8 kB / 0.8416 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.1885, allocations: 75.95 kB / 0.8416 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1887, allocations: 90.47 kB / 0.8417 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.1891, allocations: 156.7 kB / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1891, allocations: 4 kB / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008779/0.19, allocations: 288.5 kB / 0.8422 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.19, allocations: 4 kB / 0.8422 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.19, allocations: 0 / 0.8422 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.1905, allocations: 124.7 kB / 0.8423 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.1918, allocations: 104 kB / 0.8424 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008827/0.1927, allocations: 0.6226 MB / 0.843 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.1928, allocations: 23.92 kB / 0.843 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1929, allocations: 11.98 kB / 0.843 GB, free: 13.39 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.0001206/0.193, allocations: 126.4 kB / 0.8431 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.193, allocations: 15.91 kB / 0.8432 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/0.1939, allocations: 297.1 kB / 0.8434 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1939, allocations: 0 / 0.8434 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1939, allocations: 0 / 0.8434 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1939, allocations: 3.984 kB / 0.8434 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.1957, allocations: 0.641 MB / 0.8441 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1957, allocations: 0 / 0.8441 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.1968, allocations: 99.95 kB / 0.8442 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.1973, allocations: 128.4 kB / 0.8443 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1973, allocations: 4 kB / 0.8443 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008158/0.1981, allocations: 0.6265 MB / 0.8449 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1981, allocations: 4.281 kB / 0.8449 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008973/0.199, allocations: 361.8 kB / 0.8453 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.1991, allocations: 23.81 kB / 0.8453 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.1991, allocations: 4 kB / 0.8453 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1993, allocations: 19.97 kB / 0.8453 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.1994, allocations: 7.984 kB / 0.8453 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1994, allocations: 7.938 kB / 0.8453 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.006e-05/0.1994, allocations: 103.3 kB / 0.8454 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1994, allocations: 0 / 0.8454 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004767/0.1999, allocations: 131.6 kB / 0.8455 GB, free: 10.7 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.0004231/0.2003, allocations: 226.7 kB / 0.8458 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008968/0.2012, allocations: 227.7 kB / 0.846 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2012, allocations: 0 / 0.846 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.2018, allocations: 135.8 kB / 0.8461 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2022, allocations: 35.84 kB / 0.8461 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.203, allocations: 330.6 kB / 0.8465 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2031, allocations: 102.8 kB / 0.8466 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.842e-05/0.2032, allocations: 12.84 kB / 0.8466 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.2033, allocations: 15.44 kB / 0.8466 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.2033, allocations: 0 / 0.8466 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.009047/0.2123, allocations: 4.666 MB / 0.8511 GB, free: 4.977 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: 6.197763353586197] Failed to read output from testmodel.py, exit status != 0: 0.21945402026176453 0.23385438700000002 0.051714467 Calling exit ...