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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 207.6 MB / 231.4 MB, free: 3.188 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0714/0.0714, allocations: 9.159 MB / 292.6 MB, free: 6.051 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 78.36 kB / 409.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2841, allocations: 50.71 MB / 459.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.5056/0.7897, allocations: 198.7 MB / 0.6432 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1311/0.9208, allocations: 144.1 MB / 0.7839 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007377/0.9216, allocations: 11.94 kB / 0.7839 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005279/0.9268, allocations: 2.097 MB / 0.786 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007426/0.9343, allocations: 2.793 MB / 0.7887 GB, free: 5.094 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.1102/1.044, allocations: 41.51 MB / 0.8292 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002917/1.047, allocations: 1.986 MB / 0.8312 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/1.048, allocations: 142.8 kB / 0.8313 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/1.049, allocations: 0.8214 MB / 0.8321 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009073/1.05, allocations: 0.5564 MB / 0.8327 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/1.05, allocations: 60 kB / 0.8327 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3462/1.397, allocations: 47.23 MB / 0.8788 GB, free: 35.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/1.397, allocations: 170.8 kB / 0.879 GB, free: 35.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006011/1.397, allocations: 426.3 kB / 0.8794 GB, free: 35.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05082/1.448, allocations: 18.81 MB / 0.8978 GB, free: 35.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.448, allocations: 0 / 0.8978 GB, free: 35.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/1.448, allocations: 0 / 0.8978 GB, free: 35.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.448, allocations: 0 / 0.8978 GB, free: 35.13 MB / 0.5919 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.008677/1.457, allocations: 3.5 MB / 0.9012 GB, free: 33.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/1.457, allocations: 9.297 kB / 0.9012 GB, free: 33.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/1.458, allocations: 125.2 kB / 0.9013 GB, free: 33.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/1.458, allocations: 411.5 kB / 0.9017 GB, free: 32.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/1.458, allocations: 46.38 kB / 0.9018 GB, free: 32.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/1.459, allocations: 48.64 kB / 0.9018 GB, free: 32.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.46, allocations: 0.8186 MB / 0.9026 GB, free: 32.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/1.46, allocations: 0 / 0.9026 GB, free: 32.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/1.46, allocations: 23.31 kB / 0.9026 GB, free: 32.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/1.46, allocations: 22.23 kB / 0.9026 GB, free: 32.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/1.462, allocations: 0.7575 MB / 0.9034 GB, free: 32.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/1.465, allocations: 3.42 MB / 0.9067 GB, free: 30.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/1.466, allocations: 0.635 MB / 0.9073 GB, free: 30.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/1.466, allocations: 441.8 kB / 0.9078 GB, free: 30.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3402/1.807, allocations: 185.3 MB / 1.089 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/1.807, allocations: 38.69 kB / 1.089 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=109): time 2.976e-06/1.807, allocations: 4 kB / 1.089 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of matching and sorting (n=117): time 0.2215/2.028, allocations: 3.424 MB / 1.092 GB, free: 434.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/2.028, allocations: 61.56 kB / 1.092 GB, free: 434.4 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/2.029, allocations: 309.5 kB / 1.092 GB, free: 434.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/2.029, allocations: 35.95 kB / 1.093 GB, free: 434.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/2.029, allocations: 236 kB / 1.093 GB, free: 434.2 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000437/2.03, allocations: 395.5 kB / 1.093 GB, free: 434.1 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/2.03, allocations: 142.9 kB / 1.093 GB, free: 434 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.00012/2.03, allocations: 371.2 kB / 1.094 GB, free: 433.7 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008862/2.031, allocations: 392.2 kB / 1.094 GB, free: 433.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/2.032, allocations: 0.5412 MB / 1.094 GB, free: 433.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/2.034, allocations: 0.9748 MB / 1.095 GB, free: 433.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/2.034, allocations: 1.406 kB / 1.095 GB, free: 433.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002072/2.036, allocations: 1.131 MB / 1.097 GB, free: 432.8 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/2.036, allocations: 9.812 kB / 1.097 GB, free: 432.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/2.036, allocations: 8.188 kB / 1.097 GB, free: 432.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003783/2.036, allocations: 97.58 kB / 1.097 GB, free: 432.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/2.037, allocations: 212.6 kB / 1.097 GB, free: 432.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1277/2.165, allocations: 35.29 MB / 1.131 GB, free: 416.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/2.166, allocations: 40.03 kB / 1.131 GB, free: 416.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/2.166, allocations: 27.98 kB / 1.131 GB, free: 416.2 MB / 0.7637 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.0003094/2.166, allocations: 216.9 kB / 1.132 GB, free: 416 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/2.166, allocations: 67.56 kB / 1.132 GB, free: 416 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/2.168, allocations: 2.366 MB / 1.134 GB, free: 413.5 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/2.168, allocations: 22.41 kB / 1.134 GB, free: 413.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/2.168, allocations: 0 / 1.134 GB, free: 413.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/2.17, allocations: 1.634 MB / 1.136 GB, free: 411.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/2.173, allocations: 2.449 MB / 1.138 GB, free: 409.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/2.173, allocations: 3.938 kB / 1.138 GB, free: 409.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/2.173, allocations: 123.8 kB / 1.138 GB, free: 409.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/2.174, allocations: 206 kB / 1.138 GB, free: 409 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/2.174, allocations: 19.98 kB / 1.138 GB, free: 408.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/2.176, allocations: 3.972 MB / 1.142 GB, free: 404.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.176, allocations: 7.938 kB / 1.142 GB, free: 404.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/2.178, allocations: 1.966 MB / 1.144 GB, free: 402.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/2.178, allocations: 133.3 kB / 1.144 GB, free: 402.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/2.178, allocations: 20.03 kB / 1.144 GB, free: 402.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/2.179, allocations: 31.97 kB / 1.144 GB, free: 402.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/2.179, allocations: 60.47 kB / 1.144 GB, free: 402.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/2.179, allocations: 23.98 kB / 1.144 GB, free: 402.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002132/2.179, allocations: 255.2 kB / 1.145 GB, free: 402.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/2.179, allocations: 7.938 kB / 1.145 GB, free: 402.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01357/2.193, allocations: 5.548 MB / 1.15 GB, free: 397.1 MB / 0.7637 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.02537/2.218, allocations: 6.873 MB / 1.157 GB, free: 390.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00283/2.221, allocations: 1.494 MB / 1.158 GB, free: 389.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/2.221, allocations: 0 / 1.158 GB, free: 389.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/2.222, allocations: 0.7822 MB / 1.159 GB, free: 388.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/2.224, allocations: 0.5085 MB / 1.159 GB, free: 388 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/2.226, allocations: 1.746 MB / 1.161 GB, free: 386.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/2.226, allocations: 0.9332 MB / 1.162 GB, free: 385.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004493/2.227, allocations: 190.3 kB / 1.162 GB, free: 385.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/2.227, allocations: 51.44 kB / 1.162 GB, free: 385.1 MB / 0.7637 GB Notification: Performance of SimCode: time 9.72e-07/2.227, allocations: 0 / 1.162 GB, free: 385.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.2008/2.428, allocations: 202.7 MB / 1.36 GB, free: 182.1 MB / 0.7637 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: 24.941727064549923]