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.0007989/0.0007989, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009374/0.0009374, allocations: 169 kB / 23.02 MB, free: 1.547 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.9908/0.9908, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.1021/0.1021, allocations: 17.39 MB / 277.3 MB, free: 11.65 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.784e-06/1.784e-06, allocations: 0 / 353.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.143e-05, allocations: 10.25 kB / 353.4 MB, free: 9.977 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.02676/0.02679, allocations: 32.51 MB / 386 MB, free: 9.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.1721, allocations: 29.06 MB / 415 MB, free: 33.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.1731, allocations: 35.31 kB / 415.1 MB, free: 33.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1743, allocations: 0.5289 MB / 415.6 MB, free: 33.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005616/0.1799, allocations: 2.658 MB / 418.2 MB, free: 33.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007672/0.1876, allocations: 3.676 MB / 421.9 MB, free: 32.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.1904, allocations: 2.813 MB / 424.7 MB, free: 32.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.1918, allocations: 1.414 MB / 426.1 MB, free: 32.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.1935, allocations: 1.961 MB / 428.1 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.195, allocations: 1.38 MB / 429.5 MB, free: 31.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.1953, allocations: 248.8 kB / 429.7 MB, free: 31.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005561/0.2009, allocations: 3.02 MB / 432.7 MB, free: 30.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.2012, allocations: 0.6309 MB / 433.4 MB, free: 30.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007668/0.202, allocations: 0.9115 MB / 434.3 MB, free: 30.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006964/0.209, allocations: 5.601 MB / 439.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.209, allocations: 0 / 439.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.209, allocations: 3.062 kB / 439.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.302e-05/0.209, allocations: 0 / 439.9 MB, free: 27.2 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.003275/0.2123, allocations: 3.034 MB / 442.9 MB, free: 25.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2123, allocations: 9.969 kB / 442.9 MB, free: 25.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.2136, allocations: 0.7612 MB / 443.7 MB, free: 24.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009676/0.2146, allocations: 1.051 MB / 444.8 MB, free: 23.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.2147, allocations: 357.8 kB / 445.1 MB, free: 23.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.2149, allocations: 188.3 kB / 445.3 MB, free: 23.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.2168, allocations: 1.969 MB / 447.3 MB, free: 21.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2168, allocations: 192 / 447.3 MB, free: 21.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.217, allocations: 72.38 kB / 447.3 MB, free: 20.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.217, allocations: 47.94 kB / 447.4 MB, free: 20.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.2191, allocations: 2.063 MB / 449.4 MB, free: 18.86 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.0062/0.2253, allocations: 6.361 MB / 455.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004754/0.2301, allocations: 5.418 MB / 461.2 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.2308, allocations: 0.7363 MB / 461.9 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005474/0.2363, allocations: 5.254 MB / 467.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2363, allocations: 54.7 kB / 467.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005851/0.2369, allocations: 300.9 kB / 467.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 2.745e-06/0.2369, allocations: 0 / 467.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.01355/0.2504, allocations: 5.669 MB / 473.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.2505, allocations: 72.06 kB / 473.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.2513, allocations: 0.8802 MB / 474.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/0.2514, allocations: 57.7 kB / 474.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.2518, allocations: 0.8866 MB / 475.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.2521, allocations: 0.6633 MB / 475.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.2525, allocations: 413.8 kB / 476.2 MB, free: 8.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.2526, allocations: 480.8 kB / 476.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.2533, allocations: 466.7 kB / 477.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.2543, allocations: 1.274 MB / 478.4 MB, free: 5.738 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.2563, allocations: 1.914 MB / 480.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.2563, allocations: 7.094 kB / 480.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005571/0.2619, allocations: 2.552 MB / 482.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.2619, allocations: 16.09 kB / 482.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.262, allocations: 20 kB / 482.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.2641, allocations: 0.6993 MB / 483.6 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/0.2651, allocations: 0.5181 MB / 484.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/0.2684, allocations: 4.386 MB / 488.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.269, allocations: 71.98 kB / 488.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.2692, allocations: 118.6 kB / 488.7 MB, free: 11.19 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.0003454/0.2695, allocations: 295.8 kB / 489 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.2698, allocations: 211 kB / 489.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005593/0.2753, allocations: 2.454 MB / 491.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2754, allocations: 22.67 kB / 491.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2754, allocations: 0 / 491.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.2754, allocations: 11.95 kB / 491.7 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006898/0.2823, allocations: 3.685 MB / 495.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2823, allocations: 0 / 495.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.283, allocations: 374.1 kB / 495.7 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.2851, allocations: 0.6729 MB / 496.4 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.2852, allocations: 67.95 kB / 496.4 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/0.2879, allocations: 4.276 MB / 0.489 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2879, allocations: 0 / 0.489 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005995/0.2938, allocations: 2.851 MB / 0.4918 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.294, allocations: 131.3 kB / 0.4919 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.2941, allocations: 36 kB / 0.4919 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.2946, allocations: 36 kB / 0.492 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.2948, allocations: 209.6 kB / 0.4922 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/0.2949, allocations: 79.94 kB / 0.4922 GB, free: 11.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004012/0.2953, allocations: 0.4979 MB / 0.4927 GB, free: 11.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2953, allocations: 0 / 0.4927 GB, free: 11.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002447/0.2978, allocations: 1.195 MB / 0.4939 GB, free: 9.961 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.001827/0.2996, allocations: 1.408 MB / 0.4953 GB, free: 8.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.302, allocations: 1.895 MB / 0.4971 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.302, allocations: 0 / 0.4971 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.3036, allocations: 1.167 MB / 0.4983 GB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.3044, allocations: 369.3 kB / 0.4986 GB, free: 5.316 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.004355/0.3088, allocations: 3.041 MB / 0.5016 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.309, allocations: 319.9 kB / 0.5019 GB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008688/0.3099, allocations: 394.8 kB / 0.5023 GB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.3103, allocations: 276.8 kB / 0.5025 GB, free: 1.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3103, allocations: 2.656 kB / 0.5025 GB, free: 1.398 MB / 378.7 MB Notification: Performance of Templates: time 0.0451/0.3554, allocations: 47.21 MB / 0.5486 GB, free: 2.961 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.223201679997146]