Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.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.001372/0.001372, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001609/0.001609, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1483/0.1483, allocations: 17.38 MB / 276.9 MB, free: 11.66 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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(Chemical.Obsolete.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate") translateModel(Chemical.Obsolete.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.317e-05, allocations: 4.703 kB / 352.7 MB, free: 10.32 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.Phosphate): time 0.04406/0.04409, allocations: 29.16 MB / 381.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03888/0.08296, allocations: 25.28 MB / 407.2 MB, free: 3.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.08418, allocations: 35.69 kB / 407.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.08599, allocations: 0.5232 MB / 407.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008142/0.09413, allocations: 2.649 MB / 410.4 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1351/0.2293, allocations: 3.668 MB / 414 MB, free: 33.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.2325, allocations: 2.817 MB / 416.8 MB, free: 33.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.2342, allocations: 1.414 MB / 418.3 MB, free: 32.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.2365, allocations: 1.958 MB / 420.2 MB, free: 32.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.2386, allocations: 1.358 MB / 421.6 MB, free: 32.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004557/0.239, allocations: 250.8 kB / 421.8 MB, free: 32.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007562/0.2466, allocations: 3.027 MB / 424.8 MB, free: 32.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006031/0.2472, allocations: 0.6308 MB / 425.5 MB, free: 32.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.2484, allocations: 0.9062 MB / 426.4 MB, free: 32.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.2608, allocations: 6.515 MB / 432.9 MB, free: 30.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2608, allocations: 0 / 432.9 MB, free: 30.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2608, allocations: 0 / 432.9 MB, free: 30.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.739e-05/0.2609, allocations: 0 / 432.9 MB, free: 30.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005715/0.2666, allocations: 2.91 MB / 435.8 MB, free: 28.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2666, allocations: 10.81 kB / 435.8 MB, free: 28.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.269, allocations: 0.7586 MB / 436.6 MB, free: 27.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.2707, allocations: 1.074 MB / 437.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.2708, allocations: 352.4 kB / 438 MB, free: 26.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.2711, allocations: 192.2 kB / 438.2 MB, free: 26.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.2746, allocations: 2.53 MB / 440.7 MB, free: 24.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.2746, allocations: 192 / 440.7 MB, free: 24.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.2749, allocations: 76.38 kB / 440.8 MB, free: 24.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.2749, allocations: 47.94 kB / 440.8 MB, free: 24.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/0.279, allocations: 3.179 MB / 444 MB, free: 21.04 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.2904, allocations: 6.939 MB / 451 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007526/0.2979, allocations: 4.65 MB / 455.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.2996, allocations: 1.164 MB / 456.8 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.3103, allocations: 5.955 MB / 462.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3103, allocations: 50.69 kB / 462.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001434/0.3117, allocations: 312.7 kB / 463.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 7.545e-06/0.3118, allocations: 0 / 463.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.03244/0.3442, allocations: 7.388 MB / 470.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.3443, allocations: 73.41 kB / 470.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.3458, allocations: 0.862 MB / 471.4 MB, free: 9.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003745/0.3462, allocations: 57.64 kB / 471.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007979/0.347, allocations: 0.8364 MB / 472.3 MB, free: 8.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.348, allocations: 0.6583 MB / 473 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009848/0.349, allocations: 411.9 kB / 473.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3491, allocations: 301.1 kB / 473.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.3511, allocations: 0.7851 MB / 474.4 MB, free: 6.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.3535, allocations: 1.377 MB / 475.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/0.3579, allocations: 2.359 MB / 478.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.3579, allocations: 4 kB / 478.2 MB, free: 2.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.0139/0.3718, allocations: 3.474 MB / 481.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3719, allocations: 14.66 kB / 481.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/0.3719, allocations: 20 kB / 481.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005542/0.3774, allocations: 0.9528 MB / 482.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.3798, allocations: 0.517 MB / 483.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.3866, allocations: 3.624 MB / 486.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.3886, allocations: 67.98 kB / 486.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/0.3892, allocations: 123.9 kB / 487 MB, free: 9.953 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (268): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001318/0.3905, allocations: 406.7 kB / 487.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/0.3913, allocations: 211 kB / 487.6 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/0.4055, allocations: 3.318 MB / 490.9 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/0.4055, allocations: 20 kB / 490.9 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.4055, allocations: 0 / 490.9 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.67e-05/0.4056, allocations: 7.969 kB / 490.9 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.4235, allocations: 4.754 MB / 495.7 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.4235, allocations: 4 kB / 495.7 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/0.4253, allocations: 357.2 kB / 496 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005502/0.4308, allocations: 0.926 MB / 496.9 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003591/0.4312, allocations: 74.62 kB / 497 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006084/0.4373, allocations: 3.508 MB / 0.4888 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4373, allocations: 0 / 0.4888 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.453, allocations: 4.289 MB / 0.493 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.4535, allocations: 128 kB / 0.4931 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/0.4539, allocations: 38.62 kB / 0.4931 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.455, allocations: 42.64 kB / 0.4932 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/0.4556, allocations: 208.4 kB / 0.4934 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/0.4559, allocations: 79.94 kB / 0.4935 GB, free: 7.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008864/0.4568, allocations: 0.5253 MB / 0.494 GB, free: 7.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4568, allocations: 4 kB / 0.494 GB, free: 7.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003736/0.4605, allocations: 1.188 MB / 0.4951 GB, free: 5.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (solution.temperature,H.logn,H3PO4.logn,H2PO4.logn,HPO4.logn,PO4.logn,H2O.logn,OH.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003346/0.4638, allocations: 1.409 MB / 0.4965 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0057/0.4695, allocations: 2.349 MB / 0.4988 GB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4695, allocations: 2.688 kB / 0.4988 GB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002966/0.4725, allocations: 1.301 MB / 0.5001 GB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.4744, allocations: 366.6 kB / 0.5004 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007649/0.482, allocations: 3.332 MB / 0.5037 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.483, allocations: 0.7516 MB / 0.5044 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001681/0.4847, allocations: 419.3 kB / 0.5048 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007731/0.4855, allocations: 269.4 kB / 0.5051 GB, free: 12.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4855, allocations: 0 / 0.5051 GB, free: 12.19 MB / 394.7 MB Notification: Performance of Templates: time 0.08163/0.5671, allocations: 46.9 MB / 0.5509 GB, free: 14.11 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.707710904069245]