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.0009705/0.0009705, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001105/0.001105, allocations: 173 kB / 23.49 MB, free: 1.055 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.9685/0.9685, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.1186/0.1186, allocations: 17.38 MB / 277.7 MB, free: 11.7 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.232e-06/1.232e-06, allocations: 0 / 353.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.851e-05, allocations: 2.312 kB / 353.5 MB, free: 10.27 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.02602/0.02604, allocations: 32.42 MB / 385.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1612/0.1872, allocations: 28.88 MB / 414.8 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1883, allocations: 34.38 kB / 414.8 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.1894, allocations: 0.5228 MB / 415.3 MB, free: 33.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005404/0.1948, allocations: 2.654 MB / 418 MB, free: 33.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00802/0.2029, allocations: 3.675 MB / 421.6 MB, free: 32.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.2064, allocations: 2.81 MB / 424.5 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.2081, allocations: 1.415 MB / 425.9 MB, free: 31.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.2102, allocations: 1.958 MB / 427.8 MB, free: 31.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.2118, allocations: 1.383 MB / 429.2 MB, free: 31.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003946/0.2122, allocations: 249.7 kB / 429.5 MB, free: 31.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005729/0.2179, allocations: 3.025 MB / 432.5 MB, free: 30.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.2183, allocations: 0.6374 MB / 433.1 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007587/0.219, allocations: 0.8994 MB / 434 MB, free: 29.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005673/0.2247, allocations: 5.601 MB / 439.6 MB, free: 27.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2247, allocations: 0 / 439.6 MB, free: 27.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2247, allocations: 0 / 439.6 MB, free: 27.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.2247, allocations: 0 / 439.6 MB, free: 27.02 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.003116/0.2278, allocations: 3.036 MB / 442.7 MB, free: 24.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2279, allocations: 9.906 kB / 442.7 MB, free: 24.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.2293, allocations: 0.7616 MB / 443.4 MB, free: 24.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2303, allocations: 1.052 MB / 444.5 MB, free: 23.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.2304, allocations: 357.8 kB / 444.8 MB, free: 23.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.2306, allocations: 188.3 kB / 445 MB, free: 22.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.2326, allocations: 1.962 MB / 447 MB, free: 20.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.2326, allocations: 4.188 kB / 447 MB, free: 20.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.2327, allocations: 72.38 kB / 447 MB, free: 20.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.2327, allocations: 51.94 kB / 447.1 MB, free: 20.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.2349, allocations: 2.063 MB / 449.2 MB, free: 18.75 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.006028/0.241, allocations: 6.358 MB / 455.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/0.2473, allocations: 5.417 MB / 460.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.2481, allocations: 0.7312 MB / 461.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005648/0.2537, allocations: 5.267 MB / 466.9 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2537, allocations: 48.95 kB / 467 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000596/0.2543, allocations: 301.8 kB / 467.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 3.236e-06/0.2543, allocations: 4 kB / 467.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.01341/0.2678, allocations: 5.663 MB / 472.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2678, allocations: 72.5 kB / 473 MB, free: 11.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.2685, allocations: 0.8945 MB / 473.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.303e-05/0.2685, allocations: 53.7 kB / 474 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.2689, allocations: 0.8804 MB / 474.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.2693, allocations: 0.6627 MB / 475.5 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.2697, allocations: 417.8 kB / 475.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2698, allocations: 476.8 kB / 476.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.2705, allocations: 466.7 kB / 476.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.2715, allocations: 1.273 MB / 478.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.2734, allocations: 1.91 MB / 480 MB, free: 3.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2734, allocations: 4 kB / 480 MB, free: 3.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005681/0.2791, allocations: 2.561 MB / 482.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2791, allocations: 12 kB / 482.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.2791, allocations: 16 kB / 482.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.2813, allocations: 0.7029 MB / 483.3 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.2823, allocations: 0.5145 MB / 483.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/0.2863, allocations: 4.386 MB / 488.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.2871, allocations: 71.98 kB / 488.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.2873, allocations: 120 kB / 488.4 MB, free: 11.1 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.0004386/0.2878, allocations: 297.6 kB / 488.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.2881, allocations: 211 kB / 488.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007471/0.2956, allocations: 2.449 MB / 491.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.2956, allocations: 20 kB / 491.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2956, allocations: 4 kB / 491.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.2956, allocations: 11.95 kB / 491.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/0.3046, allocations: 3.685 MB / 495.1 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3046, allocations: 6.688 kB / 495.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.3056, allocations: 361 kB / 495.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/0.3083, allocations: 0.6745 MB / 496.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.3084, allocations: 70.64 kB / 496.2 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/0.3118, allocations: 4.282 MB / 0.4887 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3118, allocations: 2.625 kB / 0.4887 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007807/0.3196, allocations: 2.848 MB / 0.4915 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.3198, allocations: 127 kB / 0.4916 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.32, allocations: 38.61 kB / 0.4917 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.3205, allocations: 36 kB / 0.4917 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.321, allocations: 209.6 kB / 0.4919 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.3211, allocations: 86.52 kB / 0.492 GB, free: 11.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00049/0.3216, allocations: 0.4979 MB / 0.4925 GB, free: 11.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3216, allocations: 0 / 0.4925 GB, free: 11.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002771/0.3243, allocations: 1.196 MB / 0.4936 GB, free: 9.922 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.001925/0.3263, allocations: 1.405 MB / 0.495 GB, free: 8.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002869/0.3291, allocations: 1.896 MB / 0.4969 GB, free: 6.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3291, allocations: 6.594 kB / 0.4969 GB, free: 6.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.3307, allocations: 1.165 MB / 0.498 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3318, allocations: 368.2 kB / 0.4984 GB, free: 5.277 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.3369, allocations: 3.03 MB / 0.5013 GB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3371, allocations: 327.9 kB / 0.5016 GB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001049/0.3382, allocations: 397 kB / 0.502 GB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.3387, allocations: 269.2 kB / 0.5023 GB, free: 1.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3387, allocations: 0 / 0.5023 GB, free: 1.371 MB / 378.7 MB Notification: Performance of Templates: time 0.05602/0.3947, allocations: 47.2 MB / 0.5484 GB, free: 2.938 MB / 426.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 os._exit(0), Time elapsed: 4.104789550881833]