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.0009197/0.0009197, 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.001379/0.001379, 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.9322/0.9322, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.08805/0.08805, allocations: 17.46 MB / 277.7 MB, free: 11.62 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 2.424e-06/2.424e-06, allocations: 0 / 353.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.613e-05/3.855e-05, allocations: 2.312 kB / 353.6 MB, free: 11.21 MB / 330.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.03226/0.0323, allocations: 32.41 MB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.05637, allocations: 28.9 MB / 414.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.0576, allocations: 27.75 kB / 414.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.0587, allocations: 0.527 MB / 415.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.0642, allocations: 2.645 MB / 418.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007043/0.07124, allocations: 3.677 MB / 421.8 MB, free: 6.965 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.07451, allocations: 2.816 MB / 424.6 MB, free: 4.137 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.07613, allocations: 1.412 MB / 426 MB, free: 2.695 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.07823, allocations: 1.962 MB / 427.9 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.07998, allocations: 1.38 MB / 429.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.08036, allocations: 252 kB / 429.6 MB, free: 15.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.09171, allocations: 3.021 MB / 432.6 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.09298, allocations: 0.627 MB / 433.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.0952, allocations: 0.9082 MB / 434.1 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.1115, allocations: 5.603 MB / 439.7 MB, free: 4.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1115, allocations: 4 kB / 439.7 MB, free: 4.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1115, allocations: 4 kB / 439.7 MB, free: 4.902 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.452e-05/0.1116, allocations: 0 / 439.7 MB, free: 4.902 MB / 410.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.004622/0.1162, allocations: 3.029 MB / 442.8 MB, free: 1.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1163, allocations: 12.03 kB / 442.8 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.1181, allocations: 0.7547 MB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1378/0.256, allocations: 1.054 MB / 444.6 MB, free: 120.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.2562, allocations: 358.7 kB / 444.9 MB, free: 120 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/0.2567, allocations: 190 kB / 445.1 MB, free: 120 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.2594, allocations: 1.965 MB / 447.1 MB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.2594, allocations: 1.188 kB / 447.1 MB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.2596, allocations: 77.41 kB / 447.2 MB, free: 119.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.2596, allocations: 46.44 kB / 447.2 MB, free: 119.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.2622, allocations: 2.061 MB / 449.3 MB, free: 119.4 MB / 410.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.007605/0.2698, allocations: 6.355 MB / 455.6 MB, free: 116.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005656/0.2755, allocations: 5.419 MB / 461 MB, free: 115.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009979/0.2765, allocations: 0.7318 MB / 461.8 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006796/0.2833, allocations: 5.259 MB / 467 MB, free: 113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.2833, allocations: 48.61 kB / 467.1 MB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007574/0.2841, allocations: 295.8 kB / 467.4 MB, free: 112.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=158): time 6.532e-06/0.2841, allocations: 2.656 kB / 467.4 MB, free: 112.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01477/0.2988, allocations: 5.676 MB / 473.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2989, allocations: 71.28 kB / 473.1 MB, free: 111.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.2997, allocations: 0.8875 MB / 474 MB, free: 110.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.2998, allocations: 59.42 kB / 474.1 MB, free: 110.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.3002, allocations: 0.8808 MB / 475 MB, free: 110.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.3006, allocations: 0.662 MB / 475.6 MB, free: 109.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.301, allocations: 418.1 kB / 476 MB, free: 109.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.3011, allocations: 478 kB / 476.5 MB, free: 109.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007865/0.3019, allocations: 463.2 kB / 476.9 MB, free: 109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3029, allocations: 1.276 MB / 478.2 MB, free: 107.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.3047, allocations: 1.912 MB / 480.1 MB, free: 106.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.3047, allocations: 10.12 kB / 480.1 MB, free: 106.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.006202/0.3109, allocations: 2.556 MB / 482.7 MB, free: 105.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3109, allocations: 11.44 kB / 482.7 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.311, allocations: 21.31 kB / 482.7 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/0.3131, allocations: 0.6889 MB / 483.4 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3141, allocations: 0.5193 MB / 483.9 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.3171, allocations: 4.392 MB / 488.3 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/0.318, allocations: 71.84 kB / 488.4 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.3182, allocations: 121.8 kB / 488.5 MB, free: 101.6 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.0005159/0.3187, allocations: 298.5 kB / 488.8 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.319, allocations: 203.8 kB / 489 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/0.3247, allocations: 2.454 MB / 491.5 MB, free: 99.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3247, allocations: 20 kB / 491.5 MB, free: 99.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3247, allocations: 11.45 kB / 491.5 MB, free: 99.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.3247, allocations: 13.02 kB / 491.5 MB, free: 99.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007202/0.3319, allocations: 3.674 MB / 495.2 MB, free: 96.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3319, allocations: 0 / 495.2 MB, free: 96.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008383/0.3327, allocations: 368.6 kB / 495.5 MB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/0.3349, allocations: 0.668 MB / 496.2 MB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.3351, allocations: 66.25 kB / 496.3 MB, free: 95.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.3376, allocations: 4.283 MB / 0.4888 GB, free: 91.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3376, allocations: 0 / 0.4888 GB, free: 91.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006455/0.3441, allocations: 2.846 MB / 0.4916 GB, free: 89.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.3444, allocations: 129.1 kB / 0.4917 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.3446, allocations: 42.23 kB / 0.4918 GB, free: 88.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.3451, allocations: 36 kB / 0.4918 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/0.3455, allocations: 209.1 kB / 0.492 GB, free: 88.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.3456, allocations: 81.45 kB / 0.4921 GB, free: 88.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004219/0.346, allocations: 0.4955 MB / 0.4926 GB, free: 88.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.346, allocations: 0 / 0.4926 GB, free: 88.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002376/0.3484, allocations: 1.196 MB / 0.4937 GB, free: 87.21 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.001923/0.3503, allocations: 1.42 MB / 0.4951 GB, free: 86.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.3529, allocations: 1.884 MB / 0.497 GB, free: 84.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3529, allocations: 4 kB / 0.497 GB, free: 84.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.3543, allocations: 1.174 MB / 0.4981 GB, free: 83.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3554, allocations: 360.3 kB / 0.4984 GB, free: 83.13 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.004468/0.3598, allocations: 3.039 MB / 0.5014 GB, free: 80.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.36, allocations: 331.8 kB / 0.5017 GB, free: 79.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009404/0.361, allocations: 391.7 kB / 0.5021 GB, free: 79.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.3614, allocations: 269.6 kB / 0.5024 GB, free: 79.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3614, allocations: 2.656 kB / 0.5024 GB, free: 79.25 MB / 410.7 MB Notification: Performance of Templates: time 0.04035/0.4017, allocations: 47.21 MB / 0.5485 GB, free: 33.15 MB / 410.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.365204463945702]