Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001337/0.001337, allocations: 113.8 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.001346/0.001346, 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.562/1.562, 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.05217/0.05217, allocations: 9.159 MB / 292.6 MB, free: 6.07 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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") [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.002107/0.002107, allocations: 75.91 kB / 409.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 50.7 MB / 459.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.03366/0.3443, allocations: 18.01 MB / 477.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06092/0.4052, allocations: 32.29 MB / 0.4982 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.4054, allocations: 7.938 kB / 0.4982 GB, free: 4.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.4071, allocations: 474 kB / 0.4986 GB, free: 4.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007381/0.4078, allocations: 155.1 kB / 0.4988 GB, free: 4.203 MB / 366.1 MB [/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.0387/0.4465, allocations: 9.973 MB / 0.5085 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000831/0.4474, allocations: 390.4 kB / 0.5089 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.4474, allocations: 12.41 kB / 0.5089 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.4479, allocations: 171.4 kB / 0.5091 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.4481, allocations: 123.5 kB / 0.5092 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.4482, allocations: 12 kB / 0.5092 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02889/0.4771, allocations: 11.62 MB / 0.5205 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.4772, allocations: 47.83 kB / 0.5206 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.4774, allocations: 111.5 kB / 0.5207 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.4939, allocations: 4.765 MB / 0.5253 GB, free: 8.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.4939, allocations: 3.938 kB / 0.5253 GB, free: 8.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4939, allocations: 0 / 0.5253 GB, free: 8.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4939, allocations: 0 / 0.5253 GB, free: 8.914 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002729/0.4967, allocations: 1.176 MB / 0.5265 GB, free: 7.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4967, allocations: 16.03 kB / 0.5265 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.497, allocations: 31.84 kB / 0.5265 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.4973, allocations: 226.6 kB / 0.5268 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.4974, allocations: 19.8 kB / 0.5268 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.4974, allocations: 8 kB / 0.5268 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.4981, allocations: 263.6 kB / 0.527 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4981, allocations: 0 / 0.527 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.4981, allocations: 0 / 0.527 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4981, allocations: 7.984 kB / 0.527 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.4988, allocations: 231.9 kB / 0.5273 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.5001, allocations: 1.075 MB / 0.5283 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.5007, allocations: 222.3 kB / 0.5285 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.501, allocations: 139.4 kB / 0.5287 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08916/0.5902, allocations: 46.25 MB / 0.5738 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.5903, allocations: 34.56 kB / 0.5739 GB, free: 15.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.5903, allocations: 0 / 0.5739 GB, free: 15.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001537/0.5918, allocations: 468.6 kB / 0.5743 GB, free: 14.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.5919, allocations: 132.5 kB / 0.5744 GB, free: 14.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5921, allocations: 175.9 kB / 0.5746 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.5921, allocations: 33.7 kB / 0.5746 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.5922, allocations: 124.6 kB / 0.5747 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.5923, allocations: 91.22 kB / 0.5748 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.5923, allocations: 37.69 kB / 0.5749 GB, free: 13.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5925, allocations: 342.8 kB / 0.5752 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.5928, allocations: 103.9 kB / 0.5753 GB, free: 13.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.5931, allocations: 169.8 kB / 0.5755 GB, free: 13.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.5937, allocations: 279.3 kB / 0.5757 GB, free: 13.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5937, allocations: 4 kB / 0.5757 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007359/0.5945, allocations: 321.9 kB / 0.576 GB, free: 12.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5945, allocations: 4.188 kB / 0.576 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5945, allocations: 8 kB / 0.576 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5945, allocations: 0 / 0.576 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.5948, allocations: 43.95 kB / 0.5761 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5948, allocations: 7.938 kB / 0.5761 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.595, allocations: 35.86 kB / 0.5761 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.595, allocations: 8.125 kB / 0.5761 GB, free: 12.63 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.5951, allocations: 141.8 kB / 0.5763 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.5952, allocations: 23.8 kB / 0.5763 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/0.5959, allocations: 360.9 kB / 0.5766 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5959, allocations: 7.984 kB / 0.5767 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5959, allocations: 0 / 0.5767 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5959, allocations: 8 kB / 0.5767 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.5965, allocations: 321.8 kB / 0.577 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5965, allocations: 4 kB / 0.577 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.5967, allocations: 35.95 kB / 0.577 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.5967, allocations: 4 kB / 0.577 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5967, allocations: 4 kB / 0.577 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.5967, allocations: 4 kB / 0.577 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5967, allocations: 3.938 kB / 0.577 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.5976, allocations: 0.6431 MB / 0.5776 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.5976, allocations: 104.9 kB / 0.5777 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.5977, allocations: 0 / 0.5777 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.598, allocations: 27.97 kB / 0.5778 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.5981, allocations: 23.91 kB / 0.5778 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.5981, allocations: 4 kB / 0.5778 GB, free: 10.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.5982, allocations: 124.1 kB / 0.5779 GB, free: 10.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5982, allocations: 3.938 kB / 0.5779 GB, free: 10.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002061/0.6002, allocations: 0.81 MB / 0.5787 GB, free: 9.891 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002923/0.6032, allocations: 1.207 MB / 0.5799 GB, free: 8.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.6039, allocations: 268 kB / 0.5801 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6039, allocations: 4.062 kB / 0.5802 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.6043, allocations: 139.9 kB / 0.5803 GB, free: 8.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.6051, allocations: 96.47 kB / 0.5804 GB, free: 8.176 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.606, allocations: 496.2 kB / 0.5808 GB, free: 7.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.6064, allocations: 0.7402 MB / 0.5816 GB, free: 6.887 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.6066, allocations: 48.48 kB / 0.5816 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.6067, allocations: 19.44 kB / 0.5816 GB, free: 6.82 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6067, allocations: 3.938 kB / 0.5816 GB, free: 6.816 MB / 462.1 MB Notification: Performance of Templates: time 0.2119/0.8186, allocations: 24.31 MB / 0.6054 GB, free: 153.9 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.41014776006341]