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.001353/0.001353, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001752/0.001752, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002594/0.002594, allocations: 291.2 kB / 313.5 MB, free: 2.828 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.217/1.217, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.002915/0.002915, allocations: 106 kB / 0.7408 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2043, allocations: 95.38 MB / 0.834 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003288/0.2076, allocations: 2.052 MB / 0.836 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.2102, allocations: 1.691 MB / 0.8376 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.2103, allocations: 4 kB / 0.8376 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.004e-05/0.2103, allocations: 19.78 kB / 0.8376 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.2104, allocations: 47.56 kB / 0.8377 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.2114, allocations: 366.8 kB / 0.838 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.2117, allocations: 219.1 kB / 0.8382 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2118, allocations: 41.44 kB / 0.8383 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2119, allocations: 79.78 kB / 0.8384 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.2121, allocations: 83.73 kB / 0.8384 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.2121, allocations: 20 kB / 0.8385 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.2129, allocations: 431.5 kB / 0.8389 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.213, allocations: 43.84 kB / 0.8389 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.281e-05/0.213, allocations: 91.64 kB / 0.839 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006103/0.2137, allocations: 434.6 kB / 0.8394 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2137, allocations: 4 kB / 0.8394 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2137, allocations: 0 / 0.8394 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2137, allocations: 0 / 0.8394 GB, free: 2.523 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.0008213/0.2145, allocations: 461.2 kB / 0.8398 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2145, allocations: 8.75 kB / 0.8399 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.2151, allocations: 92.73 kB / 0.8399 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2152, allocations: 126.3 kB / 0.8401 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2153, allocations: 71.97 kB / 0.8401 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.2153, allocations: 16.38 kB / 0.8402 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.2158, allocations: 187.9 kB / 0.8403 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2158, allocations: 3.938 kB / 0.8403 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2158, allocations: 4 kB / 0.8403 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2158, allocations: 11.98 kB / 0.8403 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.2161, allocations: 135.9 kB / 0.8405 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.2175, allocations: 0.6725 MB / 0.8411 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.2194, allocations: 340.8 kB / 0.8415 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.2197, allocations: 76.83 kB / 0.8415 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.2201, allocations: 75.91 kB / 0.8416 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2202, allocations: 42.55 kB / 0.8416 GB, free: 92 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.2202, allocations: 0 / 0.8416 GB, free: 92 kB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001645/0.2218, allocations: 385.6 kB / 0.842 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.2218, allocations: 55.41 kB / 0.8421 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.222, allocations: 150.4 kB / 0.8422 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.222, allocations: 33.7 kB / 0.8422 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.2221, allocations: 115.9 kB / 0.8424 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.2222, allocations: 51.53 kB / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.2223, allocations: 37.7 kB / 0.8424 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2224, allocations: 326.8 kB / 0.8428 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.2226, allocations: 83.95 kB / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2228, allocations: 86.7 kB / 0.8429 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.2232, allocations: 148.8 kB / 0.8431 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2232, allocations: 4 kB / 0.8431 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008926/0.2241, allocations: 293.2 kB / 0.8433 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2241, allocations: 11.94 kB / 0.8433 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2241, allocations: 0 / 0.8433 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.2247, allocations: 124.7 kB / 0.8435 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.2258, allocations: 107.9 kB / 0.8436 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/0.2266, allocations: 0.6302 MB / 0.8442 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2268, allocations: 27.91 kB / 0.8442 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2269, allocations: 8 kB / 0.8442 GB, free: 13.36 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.0001233/0.227, allocations: 122.5 kB / 0.8443 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.227, allocations: 19.84 kB / 0.8444 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008496/0.2279, allocations: 286.6 kB / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.2279, allocations: 4 kB / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2279, allocations: 0 / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2279, allocations: 3.984 kB / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.2297, allocations: 0.6949 MB / 0.8453 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2297, allocations: 4.062 kB / 0.8453 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.2308, allocations: 96.09 kB / 0.8454 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.2313, allocations: 124.7 kB / 0.8455 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.2313, allocations: 11.98 kB / 0.8455 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000811/0.2321, allocations: 0.6225 MB / 0.8462 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2321, allocations: 4 kB / 0.8462 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.233, allocations: 369.8 kB / 0.8465 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.233, allocations: 11.94 kB / 0.8465 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.233, allocations: 8 kB / 0.8465 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2332, allocations: 11.98 kB / 0.8465 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.2333, allocations: 19.91 kB / 0.8466 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2333, allocations: 7.938 kB / 0.8466 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001025/0.2334, allocations: 125.2 kB / 0.8467 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2334, allocations: 4 kB / 0.8467 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004581/0.2338, allocations: 131.5 kB / 0.8468 GB, free: 10.59 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.000429/0.2343, allocations: 226.7 kB / 0.847 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008704/0.2351, allocations: 219.8 kB / 0.8472 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2352, allocations: 0 / 0.8472 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005667/0.2357, allocations: 124.5 kB / 0.8474 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2361, allocations: 53.19 kB / 0.8474 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.2369, allocations: 377.3 kB / 0.8478 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.2373, allocations: 0.7086 MB / 0.8485 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.2374, allocations: 19.42 kB / 0.8485 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2374, allocations: 0 / 0.8485 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.007359/0.2447, allocations: 4.406 MB / 0.8528 GB, free: 4.43 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: 9.105123092187569] Failed to read output from testmodel.py, exit status != 0: 0.2523346790112555 0.26702839 0.050363824 Calling exit ...