Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.001368/0.001368, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002124/0.002124, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05291/0.05291, allocations: 9.129 MB / 321.6 MB, free: 10.2 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 447 MB, free: 8 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 54.95 MB / 0.4902 GB, free: 8.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4271/0.5369, allocations: 176.5 MB / 0.6626 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4063/0.9433, allocations: 127.5 MB / 0.7871 GB, free: 88 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008246/0.9441, allocations: 14.06 kB / 0.7871 GB, free: 88 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.9478, allocations: 1.655 MB / 0.7888 GB, free: 68 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.9527, allocations: 2.39 MB / 0.7911 GB, free: 36 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0986/1.051, allocations: 41.56 MB / 0.8317 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002537/1.054, allocations: 1.99 MB / 0.8336 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/1.054, allocations: 138.6 kB / 0.8338 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/1.055, allocations: 0.8486 MB / 0.8346 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/1.056, allocations: 0.5229 MB / 0.8351 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/1.056, allocations: 59.09 kB / 0.8352 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06869/1.125, allocations: 32.33 MB / 0.8667 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/1.126, allocations: 176.5 kB / 0.8669 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007546/1.126, allocations: 353.4 kB / 0.8672 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05291/1.179, allocations: 16.39 MB / 0.8832 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.179, allocations: 4 kB / 0.8832 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/1.179, allocations: 0 / 0.8832 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.179, allocations: 0 / 0.8832 GB, free: 11.81 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008858/1.188, allocations: 3.407 MB / 0.8866 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.188, allocations: 8.031 kB / 0.8866 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/1.189, allocations: 123.5 kB / 0.8867 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/1.19, allocations: 353.3 kB / 0.887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/1.19, allocations: 44.94 kB / 0.8871 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/1.19, allocations: 48 kB / 0.8871 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/1.192, allocations: 1.036 MB / 0.8881 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.192, allocations: 4 kB / 0.8881 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/1.192, allocations: 20 kB / 0.8881 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/1.192, allocations: 22.81 kB / 0.8882 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/1.194, allocations: 0.7574 MB / 0.8889 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/1.197, allocations: 2.205 MB / 0.8911 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.199, allocations: 0.6516 MB / 0.8917 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/1.199, allocations: 455.1 kB / 0.8921 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2857/1.485, allocations: 58.72 MB / 0.9495 GB, free: 7.938 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/1.485, allocations: 39 kB / 0.9495 GB, free: 7.891 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 3.346e-06/1.485, allocations: 0 / 0.9495 GB, free: 7.891 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.01009/1.495, allocations: 3.351 MB / 0.9528 GB, free: 4.512 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/1.495, allocations: 59.91 kB / 0.9528 GB, free: 4.441 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/1.496, allocations: 288 kB / 0.9531 GB, free: 4.145 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/1.496, allocations: 41.69 kB / 0.9532 GB, free: 4.098 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/1.496, allocations: 236.9 kB / 0.9534 GB, free: 3.863 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/1.496, allocations: 397.3 kB / 0.9538 GB, free: 3.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/1.496, allocations: 142.2 kB / 0.9539 GB, free: 3.336 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.497, allocations: 362.8 kB / 0.9542 GB, free: 2.973 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/1.497, allocations: 409.7 kB / 0.9546 GB, free: 2.574 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/1.498, allocations: 0.5473 MB / 0.9552 GB, free: 1.977 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/1.5, allocations: 1.009 MB / 0.9562 GB, free: 0.918 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.5, allocations: 0 / 0.9562 GB, free: 0.918 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002352/1.503, allocations: 1.159 MB / 0.9573 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.503, allocations: 7.938 kB / 0.9573 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.503, allocations: 4 kB / 0.9573 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/1.503, allocations: 98.97 kB / 0.9574 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.504, allocations: 207.7 kB / 0.9576 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4515/1.955, allocations: 34.92 MB / 0.9917 GB, free: 129.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/1.956, allocations: 39.58 kB / 0.9917 GB, free: 129.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/1.956, allocations: 24.17 kB / 0.9917 GB, free: 129.6 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003395/1.956, allocations: 228.5 kB / 0.992 GB, free: 129.5 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.957, allocations: 59.8 kB / 0.992 GB, free: 129.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/1.96, allocations: 2.438 MB / 0.9944 GB, free: 129.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/1.96, allocations: 21.53 kB / 0.9944 GB, free: 129.2 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.96, allocations: 3.719 kB / 0.9944 GB, free: 129.2 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002438/1.962, allocations: 1.685 MB / 0.9961 GB, free: 128.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/1.966, allocations: 2.327 MB / 0.9983 GB, free: 128.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.966, allocations: 2.656 kB / 0.9983 GB, free: 128.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/1.967, allocations: 121.8 kB / 0.9985 GB, free: 128.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/1.967, allocations: 211.9 kB / 0.9987 GB, free: 128.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/1.967, allocations: 15.28 kB / 0.9987 GB, free: 128.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/1.969, allocations: 3.729 MB / 1.002 GB, free: 125.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.969, allocations: 2.25 kB / 1.002 GB, free: 125.2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/1.973, allocations: 2.027 MB / 1.004 GB, free: 124.9 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/1.973, allocations: 61.06 kB / 1.004 GB, free: 124.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/1.973, allocations: 11.95 kB / 1.004 GB, free: 124.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/1.973, allocations: 37.62 kB / 1.004 GB, free: 124.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.974, allocations: 70.11 kB / 1.004 GB, free: 124.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/1.974, allocations: 20.39 kB / 1.004 GB, free: 124.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002666/1.974, allocations: 233.6 kB / 1.005 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.974, allocations: 0 / 1.005 GB, free: 124.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01468/1.989, allocations: 5.547 MB / 1.01 GB, free: 124.8 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02522/2.014, allocations: 6.882 MB / 1.017 GB, free: 123.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003041/2.017, allocations: 1.525 MB / 1.018 GB, free: 123.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/2.017, allocations: 2.094 kB / 1.018 GB, free: 123.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/2.018, allocations: 0.7901 MB / 1.019 GB, free: 123.3 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/2.02, allocations: 492.4 kB / 1.02 GB, free: 123.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/2.023, allocations: 1.775 MB / 1.021 GB, free: 122.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/2.023, allocations: 339.1 kB / 1.022 GB, free: 122.6 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000501/2.023, allocations: 178.3 kB / 1.022 GB, free: 122.6 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/2.023, allocations: 51.75 kB / 1.022 GB, free: 122.6 MB / 0.7012 GB Notification: Performance of SimCode: time 9.02e-07/2.023, allocations: 0 / 1.022 GB, free: 122.6 MB / 0.7012 GB Notification: Performance of Templates: time 0.2278/2.251, allocations: 203.6 MB / 1.221 GB, free: 0.6055 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 22.20946190133691] Failed to read output from testmodel.py, exit status != 0: 2.258716279640794 2.272170891 1.090028584 Calling exit ...