Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0008837/0.0008837, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009133/0.0009133, allocations: 173.3 kB / 23.03 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.9621/0.9621, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1005/0.1005, allocations: 17.47 MB / 277.4 MB, free: 11.56 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.Phosphate") translateModel(Chemical.Obsolete.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 353.6 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.513e-05, allocations: 10.19 kB / 353.6 MB, free: 9.824 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.03109/0.03111, allocations: 32.51 MB / 386.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1577/0.1888, allocations: 29.07 MB / 415.1 MB, free: 33.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.19, allocations: 31.59 kB / 415.2 MB, free: 33.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1914, allocations: 0.5311 MB / 415.7 MB, free: 33.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006944/0.1983, allocations: 2.654 MB / 418.4 MB, free: 33.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008754/0.2071, allocations: 3.675 MB / 422 MB, free: 32.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00387/0.2109, allocations: 2.812 MB / 424.9 MB, free: 32.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.213, allocations: 1.418 MB / 426.3 MB, free: 32.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.2159, allocations: 1.962 MB / 428.2 MB, free: 31.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.2181, allocations: 1.374 MB / 429.6 MB, free: 31.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006773/0.2188, allocations: 251.1 kB / 429.9 MB, free: 31.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008344/0.2271, allocations: 3.025 MB / 432.9 MB, free: 30.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008429/0.228, allocations: 0.6352 MB / 433.5 MB, free: 30.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.2295, allocations: 0.8979 MB / 434.4 MB, free: 29.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.2407, allocations: 5.606 MB / 440 MB, free: 27.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2407, allocations: 3 kB / 440 MB, free: 27.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2407, allocations: 0 / 440 MB, free: 27.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.2408, allocations: 5.781 kB / 440 MB, free: 27.15 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.004018/0.2448, allocations: 3.033 MB / 443.1 MB, free: 25.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2448, allocations: 10.84 kB / 443.1 MB, free: 25.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.2464, allocations: 0.7632 MB / 443.8 MB, free: 24.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.2476, allocations: 1.054 MB / 444.9 MB, free: 23.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.2477, allocations: 357.8 kB / 445.2 MB, free: 23.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.2479, allocations: 188.3 kB / 445.4 MB, free: 22.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.2502, allocations: 1.964 MB / 447.4 MB, free: 20.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.2502, allocations: 192 / 447.4 MB, free: 20.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.2504, allocations: 79.06 kB / 447.5 MB, free: 20.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2504, allocations: 47.94 kB / 447.5 MB, free: 20.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.2527, allocations: 2.059 MB / 449.6 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.007333/0.26, allocations: 6.354 MB / 455.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/0.2649, allocations: 5.414 MB / 461.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009253/0.2659, allocations: 0.7306 MB / 462.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006205/0.2721, allocations: 5.27 MB / 467.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2721, allocations: 46.7 kB / 467.4 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000711/0.2728, allocations: 300.5 kB / 467.7 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 4.849e-06/0.2728, allocations: 0 / 467.7 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.01419/0.287, allocations: 5.673 MB / 473.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.287, allocations: 77.39 kB / 473.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.2878, allocations: 0.8841 MB / 474.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.288, allocations: 53.7 kB / 474.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.2884, allocations: 0.8834 MB / 475.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.2888, allocations: 0.6614 MB / 475.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.2892, allocations: 424.8 kB / 476.3 MB, free: 8.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.2893, allocations: 476.8 kB / 476.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.29, allocations: 464.1 kB / 477.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.2914, allocations: 1.271 MB / 478.5 MB, free: 5.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.2932, allocations: 1.912 MB / 480.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.2933, allocations: 4 kB / 480.4 MB, free: 3.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005715/0.299, allocations: 2.561 MB / 483 MB, free: 1.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.299, allocations: 12 kB / 483 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.299, allocations: 16 kB / 483 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.3012, allocations: 0.6982 MB / 483.7 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.3024, allocations: 0.5175 MB / 484.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.306, allocations: 4.385 MB / 488.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.3071, allocations: 74.62 kB / 488.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.3072, allocations: 123.9 kB / 488.8 MB, free: 11.03 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.0004826/0.3077, allocations: 295.8 kB / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.308, allocations: 205.7 kB / 489.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005706/0.3137, allocations: 2.461 MB / 491.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.3137, allocations: 16 kB / 491.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3137, allocations: 4 kB / 491.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.3138, allocations: 7.969 kB / 491.8 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.3215, allocations: 3.689 MB / 495.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.3215, allocations: 3.984 kB / 495.5 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009277/0.3224, allocations: 362.2 kB / 495.8 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.3246, allocations: 0.6782 MB / 496.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/0.3248, allocations: 63.95 kB / 496.6 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.3279, allocations: 4.278 MB / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3279, allocations: 0 / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/0.3342, allocations: 2.85 MB / 0.4919 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.3345, allocations: 131 kB / 0.492 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.3346, allocations: 35.94 kB / 0.4921 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.3351, allocations: 39.98 kB / 0.4921 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.3355, allocations: 209.6 kB / 0.4923 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.3356, allocations: 79.95 kB / 0.4924 GB, free: 11.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004468/0.336, allocations: 0.4979 MB / 0.4929 GB, free: 11 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 2.656 kB / 0.4929 GB, free: 11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002553/0.3386, allocations: 1.192 MB / 0.494 GB, free: 9.805 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.002273/0.3408, allocations: 1.413 MB / 0.4954 GB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.3439, allocations: 1.891 MB / 0.4972 GB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3439, allocations: 3.938 kB / 0.4973 GB, free: 6.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.3452, allocations: 1.169 MB / 0.4984 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3462, allocations: 362.3 kB / 0.4987 GB, free: 5.156 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.00465/0.3509, allocations: 3.04 MB / 0.5017 GB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3511, allocations: 331.8 kB / 0.502 GB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001013/0.3521, allocations: 399.2 kB / 0.5024 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.3526, allocations: 266.9 kB / 0.5027 GB, free: 1.238 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.3526, allocations: 0 / 0.5027 GB, free: 1.238 MB / 378.7 MB Notification: Performance of Templates: time 0.05278/0.4053, allocations: 52.76 MB / 0.5542 GB, free: 13.25 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.2418410130776465]