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.001245/0.001245, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001468/0.001468, allocations: 177 kB / 23.36 MB, free: 1.137 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 0.9576/0.9576, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.09028/0.09028, allocations: 17.38 MB / 277.6 MB, free: 11.53 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.253e-06/1.253e-06, allocations: 0 / 300.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.064e-05, allocations: 5 kB / 300.6 MB, free: 1.898 MB / 266.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.06427/0.0643, allocations: 38.2 MB / 338.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.08696, allocations: 28.63 MB / 367.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.08803, allocations: 31.75 kB / 367.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.08907, allocations: 0.5387 MB / 368 MB, free: 1.125 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.09383, allocations: 2.68 MB / 370.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006635/0.1005, allocations: 3.712 MB / 374.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.103, allocations: 2.804 MB / 377.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.1044, allocations: 1.431 MB / 378.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.1061, allocations: 1.954 MB / 380.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.1078, allocations: 1.364 MB / 382 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.1081, allocations: 256 kB / 382.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005453/0.1136, allocations: 3.021 MB / 385.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004668/0.1141, allocations: 0.6348 MB / 385.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.115, allocations: 0.9005 MB / 386.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008589/0.1236, allocations: 5.607 MB / 392.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1236, allocations: 0 / 392.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1236, allocations: 4 kB / 392.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.702e-05/0.1236, allocations: 0 / 392.4 MB, free: 8.621 MB / 362.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.003786/0.1274, allocations: 2.87 MB / 395.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1274, allocations: 16.03 kB / 395.3 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.1288, allocations: 0.7164 MB / 396 MB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.1301, allocations: 0.8165 MB / 396.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.1303, allocations: 357.8 kB / 397.2 MB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.1305, allocations: 188.3 kB / 397.3 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.1322, allocations: 1.791 MB / 399.1 MB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.1322, allocations: 192 / 399.1 MB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.1323, allocations: 76.12 kB / 399.2 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.1324, allocations: 44 kB / 399.3 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.1342, allocations: 1.542 MB / 400.8 MB, free: 52 kB / 362.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.006271/0.1404, allocations: 4.799 MB / 405.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005362/0.1458, allocations: 5.09 MB / 410.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.1464, allocations: 0.5318 MB / 411.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00599/0.1524, allocations: 4.544 MB / 415.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1524, allocations: 51.81 kB / 415.8 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006098/0.153, allocations: 286.8 kB / 416.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=158): time 4.729e-06/0.153, allocations: 0 / 416.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.01199/0.165, allocations: 4.862 MB / 421 MB, free: 11.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1651, allocations: 69.41 kB / 421 MB, free: 11.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.1656, allocations: 0.7971 MB / 421.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.204e-05/0.1657, allocations: 53.7 kB / 421.9 MB, free: 10.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.1659, allocations: 0.717 MB / 422.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.1663, allocations: 0.6661 MB / 423.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.1666, allocations: 411.7 kB / 423.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.1667, allocations: 301.1 kB / 424 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.167, allocations: 303.3 kB / 424.2 MB, free: 8.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.1678, allocations: 0.891 MB / 425.1 MB, free: 7.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.1689, allocations: 1.453 MB / 426.6 MB, free: 5.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/0.1689, allocations: 8 kB / 426.6 MB, free: 5.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.003996/0.1729, allocations: 1.864 MB / 428.5 MB, free: 3.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.173, allocations: 12.97 kB / 428.5 MB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.173, allocations: 20 kB / 428.5 MB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.1748, allocations: 0.654 MB / 429.2 MB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/0.1757, allocations: 0.5148 MB / 429.7 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.1783, allocations: 3.008 MB / 432.7 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.1789, allocations: 71.98 kB / 432.7 MB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.179, allocations: 99.95 kB / 432.8 MB, free: 15.03 MB / 410.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.0003489/0.1794, allocations: 240 kB / 433.1 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1796, allocations: 143.9 kB / 433.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/0.1838, allocations: 1.912 MB / 435.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.1838, allocations: 23.98 kB / 435.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1838, allocations: 0 / 435.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.1838, allocations: 15.84 kB / 435.2 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.1891, allocations: 2.595 MB / 437.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1891, allocations: 0 / 437.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.1898, allocations: 363.5 kB / 438.1 MB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.1918, allocations: 0.6305 MB / 438.7 MB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.1919, allocations: 59.95 kB / 438.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.1939, allocations: 2.91 MB / 441.7 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1939, allocations: 3.938 kB / 441.7 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.1984, allocations: 2.152 MB / 443.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.1986, allocations: 123 kB / 444 MB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.1987, allocations: 35.98 kB / 444 MB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.1991, allocations: 36 kB / 444.1 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002925/0.1994, allocations: 197.6 kB / 444.3 MB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.993e-05/0.1995, allocations: 55.95 kB / 444.3 MB, free: 3.281 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.1998, allocations: 356 kB / 444.7 MB, free: 2.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1998, allocations: 4 kB / 444.7 MB, free: 2.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002148/0.2019, allocations: 1.196 MB / 445.9 MB, free: 1.719 MB / 410.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.001976/0.2039, allocations: 1.476 MB / 447.3 MB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1124/0.3163, allocations: 1.453 MB / 448.8 MB, free: 97.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.171e-05/0.3164, allocations: 16.69 kB / 448.8 MB, free: 97.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.3175, allocations: 0.8846 MB / 449.7 MB, free: 97.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3185, allocations: 353.2 kB / 450 MB, free: 97.35 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.3238, allocations: 2.961 MB / 453 MB, free: 96.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3241, allocations: 320 kB / 453.3 MB, free: 96.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001197/0.3253, allocations: 374.5 kB / 453.7 MB, free: 96.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.3264, allocations: 0.5109 MB / 454.2 MB, free: 95.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3264, allocations: 0 / 454.2 MB, free: 95.98 MB / 410.7 MB Notification: Performance of Templates: time 0.05472/0.3811, allocations: 53.44 MB / 0.4957 GB, free: 62 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.076069297734648]