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.0009697/0.0009697, 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.001131/0.001131, allocations: 173 kB / 23.03 MB, free: 1.543 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.9613/0.9613, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09188/0.09188, allocations: 17.39 MB / 277.3 MB, free: 11.64 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.624e-06/1.624e-06, allocations: 0 / 353.5 MB, free: 9.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.214e-05, allocations: 6.25 kB / 353.5 MB, free: 9.949 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.03648/0.03651, allocations: 32.51 MB / 386 MB, free: 9.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1525/0.189, allocations: 29.06 MB / 415 MB, free: 34.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.1903, allocations: 33.66 kB / 415.1 MB, free: 34.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1915, allocations: 0.528 MB / 415.6 MB, free: 34.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.1972, allocations: 2.656 MB / 418.2 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007583/0.2048, allocations: 3.675 MB / 421.9 MB, free: 32.9 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003553/0.2083, allocations: 2.813 MB / 424.7 MB, free: 32.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.2101, allocations: 1.418 MB / 426.2 MB, free: 32.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.2128, allocations: 1.958 MB / 428.1 MB, free: 31.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.2147, allocations: 1.38 MB / 429.5 MB, free: 31.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005207/0.2152, allocations: 251.8 kB / 429.7 MB, free: 31.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008055/0.2233, allocations: 3.021 MB / 432.8 MB, free: 30.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.2243, allocations: 0.6272 MB / 433.4 MB, free: 30.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.226, allocations: 0.905 MB / 434.3 MB, free: 30.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.2381, allocations: 5.605 MB / 439.9 MB, free: 27.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2381, allocations: 2.406 kB / 439.9 MB, free: 27.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2381, allocations: 0 / 439.9 MB, free: 27.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.794e-05/0.2382, allocations: 0 / 439.9 MB, free: 27.25 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.003546/0.2417, allocations: 3.035 MB / 442.9 MB, free: 25.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2418, allocations: 13.92 kB / 442.9 MB, free: 25.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.2432, allocations: 0.7605 MB / 443.7 MB, free: 24.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2442, allocations: 1.051 MB / 444.8 MB, free: 23.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2443, allocations: 360.5 kB / 445.1 MB, free: 23.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.2445, allocations: 188.3 kB / 445.3 MB, free: 23.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.2464, allocations: 1.963 MB / 447.3 MB, free: 21.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2464, allocations: 192 / 447.3 MB, free: 21.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.2465, allocations: 76.31 kB / 447.3 MB, free: 21.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.2466, allocations: 50.59 kB / 447.4 MB, free: 20.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.2486, allocations: 2.068 MB / 449.4 MB, free: 18.89 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.006005/0.2546, allocations: 6.356 MB / 455.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/0.2611, allocations: 5.416 MB / 461.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009739/0.262, allocations: 0.7337 MB / 462 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007221/0.2692, allocations: 5.266 MB / 467.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2693, allocations: 50.7 kB / 467.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008196/0.2701, allocations: 300.8 kB / 467.6 MB, free: 0.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 3.888e-06/0.2701, allocations: 0 / 467.6 MB, free: 0.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.01703/0.2871, allocations: 5.668 MB / 473.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2872, allocations: 69.41 kB / 473.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.2881, allocations: 0.8841 MB / 474.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.2882, allocations: 53.7 kB / 474.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.2887, allocations: 0.8843 MB / 475.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004756/0.2892, allocations: 0.6683 MB / 475.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005037/0.2897, allocations: 420.5 kB / 476.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2898, allocations: 476.8 kB / 476.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.2906, allocations: 460.1 kB / 477.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.2919, allocations: 1.271 MB / 478.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.2942, allocations: 1.917 MB / 480.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.2942, allocations: 6.656 kB / 480.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.007289/0.3015, allocations: 2.552 MB / 482.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.3016, allocations: 16 kB / 482.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.3016, allocations: 18.69 kB / 482.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.3044, allocations: 0.6998 MB / 483.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.3058, allocations: 0.5149 MB / 484.1 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/0.3097, allocations: 4.387 MB / 488.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.3108, allocations: 71.98 kB / 488.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.311, allocations: 116 kB / 488.7 MB, free: 11.22 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.0005109/0.3115, allocations: 298.5 kB / 489 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.3118, allocations: 211 kB / 489.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/0.3185, allocations: 2.454 MB / 491.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.3185, allocations: 22.66 kB / 491.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3185, allocations: 0 / 491.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.3185, allocations: 15.95 kB / 491.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006719/0.3253, allocations: 3.685 MB / 495.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3253, allocations: 0 / 495.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.3261, allocations: 370.1 kB / 495.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/0.3281, allocations: 0.6729 MB / 496.4 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.3282, allocations: 67.95 kB / 496.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.3311, allocations: 4.276 MB / 0.489 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3311, allocations: 4 kB / 0.489 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/0.3371, allocations: 2.851 MB / 0.4918 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.3374, allocations: 128.6 kB / 0.4919 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.3375, allocations: 38.66 kB / 0.4919 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.338, allocations: 36 kB / 0.492 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/0.3383, allocations: 213.6 kB / 0.4922 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.3384, allocations: 75.94 kB / 0.4923 GB, free: 11.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004532/0.3388, allocations: 0.4979 MB / 0.4927 GB, free: 11.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3388, allocations: 0 / 0.4927 GB, free: 11.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002406/0.3412, allocations: 1.196 MB / 0.4939 GB, free: 9.988 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.001942/0.3432, allocations: 1.409 MB / 0.4953 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.3458, allocations: 1.895 MB / 0.4971 GB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3458, allocations: 0 / 0.4971 GB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.3471, allocations: 1.171 MB / 0.4983 GB, free: 5.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/0.348, allocations: 361.8 kB / 0.4986 GB, free: 5.348 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.004369/0.3524, allocations: 3.038 MB / 0.5016 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3526, allocations: 323.8 kB / 0.5019 GB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008757/0.3535, allocations: 392.2 kB / 0.5023 GB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.3539, allocations: 280.8 kB / 0.5025 GB, free: 1.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.983e-06/0.3539, allocations: 0 / 0.5025 GB, free: 1.426 MB / 378.7 MB Notification: Performance of Templates: time 0.04952/0.4034, allocations: 52.76 MB / 0.5541 GB, free: 13.43 MB / 442.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.310523862950504]