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.001077/0.001077, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001029/0.001029, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8555/0.8555, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001467/0.001467, allocations: 230.5 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6335/0.6335, allocations: 138.4 MB / 455.1 MB, free: 1.656 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.6475 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.89e-05, allocations: 4.531 kB / 0.6475 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001829/0.001848, allocations: 1.966 MB / 0.6494 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.003235, allocations: 1.525 MB / 0.6509 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.00328, allocations: 2.719 kB / 0.6509 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.003325, allocations: 21.25 kB / 0.651 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.003389, allocations: 49 kB / 0.651 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.004031, allocations: 367.7 kB / 0.6514 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.004176, allocations: 228.9 kB / 0.6516 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.004286, allocations: 43.47 kB / 0.6516 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.004384, allocations: 116.7 kB / 0.6517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.004474, allocations: 68.84 kB / 0.6518 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.004498, allocations: 19.03 kB / 0.6518 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.004945, allocations: 414.6 kB / 0.6522 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.004972, allocations: 38.33 kB / 0.6522 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.005019, allocations: 73.08 kB / 0.6523 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.005427, allocations: 489.3 kB / 0.6528 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005429, allocations: 1.281 kB / 0.6528 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00543, allocations: 0 / 0.6528 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.005434, allocations: 0 / 0.6528 GB, free: 24.96 MB / 0.5105 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.0004749/0.005909, allocations: 450.1 kB / 0.6532 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.005941, allocations: 13.83 kB / 0.6532 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.006231, allocations: 85.59 kB / 0.6533 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.947e-05/0.00629, allocations: 131.3 kB / 0.6534 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.006355, allocations: 73.81 kB / 0.6535 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.006377, allocations: 17.69 kB / 0.6535 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.006633, allocations: 243.3 kB / 0.6537 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.006644, allocations: 5.406 kB / 0.6538 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.006664, allocations: 13.64 kB / 0.6538 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.006671, allocations: 7.875 kB / 0.6538 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.006843, allocations: 125 kB / 0.6539 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.00759, allocations: 0.5957 MB / 0.6545 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009041/0.008494, allocations: 327.2 kB / 0.6548 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.008604, allocations: 80.5 kB / 0.6549 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.008825, allocations: 74.52 kB / 0.6549 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.008837, allocations: 32.69 kB / 0.655 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.008839, allocations: 0 / 0.655 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0008422/0.009681, allocations: 391.8 kB / 0.6553 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.009699, allocations: 57.84 kB / 0.6554 GB, free: 23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.009758, allocations: 128.2 kB / 0.6555 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.009772, allocations: 30.77 kB / 0.6555 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.009809, allocations: 122.2 kB / 0.6557 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.009832, allocations: 54.98 kB / 0.6557 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.009879, allocations: 37.98 kB / 0.6558 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.644e-05/0.009906, allocations: 321.6 kB / 0.6561 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.01002, allocations: 79.23 kB / 0.6561 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.01013, allocations: 85.02 kB / 0.6562 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.01034, allocations: 159.6 kB / 0.6564 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01035, allocations: 0 / 0.6564 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004517/0.0108, allocations: 286.8 kB / 0.6566 GB, free: 22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01081, allocations: 9.797 kB / 0.6566 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01082, allocations: 4 kB / 0.6567 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.01113, allocations: 122.7 kB / 0.6568 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.01166, allocations: 105 kB / 0.6569 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003712/0.01203, allocations: 0.6261 MB / 0.6575 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.0121, allocations: 30.33 kB / 0.6575 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01211, allocations: 4.938 kB / 0.6575 GB, free: 21.31 MB / 0.5105 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 6.212e-05/0.01217, allocations: 125.7 kB / 0.6576 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.0122, allocations: 17.33 kB / 0.6577 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.01268, allocations: 282.6 kB / 0.6579 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01268, allocations: 8.938 kB / 0.6579 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01268, allocations: 1.125 kB / 0.6579 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01269, allocations: 0 / 0.6579 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.01354, allocations: 0.6509 MB / 0.6586 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01354, allocations: 5.125 kB / 0.6586 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.01403, allocations: 92.27 kB / 0.6587 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/0.01429, allocations: 130.2 kB / 0.6588 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.0143, allocations: 6.312 kB / 0.6588 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003367/0.01464, allocations: 0.6214 MB / 0.6594 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01464, allocations: 5.125 kB / 0.6594 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.01505, allocations: 368.8 kB / 0.6598 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.01506, allocations: 11.8 kB / 0.6598 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01508, allocations: 6.25 kB / 0.6598 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.01518, allocations: 19.27 kB / 0.6598 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.01521, allocations: 17.22 kB / 0.6598 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.01522, allocations: 3.969 kB / 0.6598 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.01524, allocations: 96.7 kB / 0.6599 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.01524, allocations: 1.062 kB / 0.6599 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002943/0.01554, allocations: 135.6 kB / 0.66 GB, free: 19.39 MB / 0.5105 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.0002893/0.01583, allocations: 246.9 kB / 0.6603 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.01628, allocations: 220.3 kB / 0.6605 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01628, allocations: 0 / 0.6605 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.01654, allocations: 138.9 kB / 0.6606 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.01677, allocations: 32.61 kB / 0.6606 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.0172, allocations: 344.5 kB / 0.661 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.815e-05/0.01725, allocations: 93.56 kB / 0.6611 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.01729, allocations: 21.2 kB / 0.6611 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.01729, allocations: 0 / 0.6611 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.0033/0.02059, allocations: 4.239 MB / 0.6652 GB, free: 14.7 MB / 0.5105 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: 5.813229899853468] Failed to read output from testmodel.py, exit status != 0: 0.02541668899357319 0.030023123000000002 0.023451428 Calling exit ...