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.0007629/0.0007629, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007614/0.0007614, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.83/0.83, allocations: 177.1 MB / 203.5 MB, free: 5.422 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.07686/0.07686, allocations: 17.37 MB / 277.3 MB, free: 11.71 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.192e-06/1.192e-06, allocations: 0 / 412.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.771e-05, allocations: 2.281 kB / 412.7 MB, free: 15.92 MB / 394.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.02016/0.02017, allocations: 28.93 MB / 441.7 MB, free: 3.051 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1526/0.1728, allocations: 25.28 MB / 466.9 MB, free: 49.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000568/0.1734, allocations: 35.56 kB / 467 MB, free: 49.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.1741, allocations: 0.5236 MB / 467.5 MB, free: 49.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.1771, allocations: 2.651 MB / 470.1 MB, free: 47.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.1813, allocations: 3.676 MB / 473.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1826, allocations: 2.817 MB / 476.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.1833, allocations: 1.361 MB / 478 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.1843, allocations: 1.952 MB / 479.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/0.1853, allocations: 1.369 MB / 481.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.1855, allocations: 254.1 kB / 481.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.1889, allocations: 3.016 MB / 484.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.1892, allocations: 0.6324 MB / 485.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004466/0.1896, allocations: 0.8961 MB / 486.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004225/0.1938, allocations: 6.509 MB / 492.6 MB, free: 38.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1938, allocations: 3.906 kB / 492.6 MB, free: 38.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1938, allocations: 0 / 492.6 MB, free: 38.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.1938, allocations: 0 / 492.6 MB, free: 38.16 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.003129/0.197, allocations: 2.91 MB / 495.5 MB, free: 36.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.197, allocations: 8.844 kB / 495.5 MB, free: 36.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.1981, allocations: 474.9 kB / 496 MB, free: 36.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.1993, allocations: 1.046 MB / 497 MB, free: 35.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.1994, allocations: 358.6 kB / 497.4 MB, free: 35.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.1997, allocations: 191.2 kB / 497.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.2024, allocations: 2.527 MB / 0.4884 GB, free: 34.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.2024, allocations: 192 / 0.4884 GB, free: 34.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.2025, allocations: 78.58 kB / 0.4885 GB, free: 34.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.2026, allocations: 48.88 kB / 0.4885 GB, free: 34.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.2058, allocations: 3.179 MB / 0.4916 GB, free: 33.46 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.007514/0.2134, allocations: 6.91 MB / 0.4984 GB, free: 29.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.2181, allocations: 4.646 MB / 0.5029 GB, free: 28.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009528/0.219, allocations: 1.155 MB / 0.504 GB, free: 27.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005771/0.2248, allocations: 5.771 MB / 0.5097 GB, free: 21.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2248, allocations: 59.75 kB / 0.5097 GB, free: 21.76 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005543/0.2254, allocations: 302.8 kB / 0.51 GB, free: 21.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=158): time 2.795e-06/0.2254, allocations: 0 / 0.51 GB, free: 21.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01295/0.2383, allocations: 7.345 MB / 0.5172 GB, free: 14.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.2384, allocations: 77.34 kB / 0.5173 GB, free: 14.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.2388, allocations: 0.858 MB / 0.5181 GB, free: 13.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.2389, allocations: 57.7 kB / 0.5182 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.2391, allocations: 0.8247 MB / 0.519 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.2393, allocations: 0.6584 MB / 0.5196 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.2396, allocations: 418.5 kB / 0.52 GB, free: 11.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.045e-05/0.2396, allocations: 301.1 kB / 0.5203 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.2404, allocations: 0.789 MB / 0.5211 GB, free: 10.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.2412, allocations: 1.378 MB / 0.5224 GB, free: 8.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.243, allocations: 2.358 MB / 0.5247 GB, free: 5.898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.243, allocations: 8 kB / 0.5247 GB, free: 5.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.00544/0.2484, allocations: 3.383 MB / 0.528 GB, free: 2.523 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2484, allocations: 12 kB / 0.528 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2485, allocations: 16 kB / 0.528 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.2501, allocations: 0.8247 MB / 0.5288 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.2509, allocations: 0.511 MB / 0.5293 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.2537, allocations: 3.617 MB / 0.5329 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.2546, allocations: 66.64 kB / 0.5329 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.2547, allocations: 127.9 kB / 0.5331 GB, free: 13.2 MB / 426.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.0004676/0.2552, allocations: 405 kB / 0.5335 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.2553, allocations: 151 kB / 0.5336 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006053/0.2614, allocations: 3.313 MB / 0.5368 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2614, allocations: 22.62 kB / 0.5369 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2614, allocations: 6.656 kB / 0.5369 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.2614, allocations: 11.95 kB / 0.5369 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007598/0.269, allocations: 4.745 MB / 0.5415 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.269, allocations: 0 / 0.5415 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.2697, allocations: 370.1 kB / 0.5419 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.2714, allocations: 0.7907 MB / 0.5426 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.2715, allocations: 74.62 kB / 0.5427 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.2741, allocations: 3.503 MB / 0.5461 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2741, allocations: 2.688 kB / 0.5461 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/0.2811, allocations: 4.227 MB / 0.5502 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2812, allocations: 133.6 kB / 0.5504 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.2813, allocations: 35.98 kB / 0.5504 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.2817, allocations: 42.62 kB / 0.5505 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.282, allocations: 205.6 kB / 0.5506 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.2821, allocations: 81.08 kB / 0.5507 GB, free: 10.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003958/0.2825, allocations: 0.5253 MB / 0.5512 GB, free: 10.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2825, allocations: 0 / 0.5512 GB, free: 10.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002138/0.2846, allocations: 1.192 MB / 0.5524 GB, free: 9.238 MB / 442.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.001582/0.2862, allocations: 1.413 MB / 0.5538 GB, free: 7.891 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.289, allocations: 2.341 MB / 0.5561 GB, free: 5.527 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.289, allocations: 0 / 0.5561 GB, free: 5.527 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.2904, allocations: 1.308 MB / 0.5573 GB, free: 4.199 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008267/0.2912, allocations: 323.8 kB / 0.5577 GB, free: 3.922 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.2948, allocations: 3.325 MB / 0.5609 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.2955, allocations: 0.744 MB / 0.5616 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.296, allocations: 350.8 kB / 0.562 GB, free: 15.49 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/0.296, allocations: 3.938 kB / 0.562 GB, free: 15.49 MB / 458.7 MB Notification: Performance of Templates: time 0.03626/0.3323, allocations: 57.29 MB / 0.6179 GB, free: 6.52 MB / 0.4948 GB " [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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.977830697782338] Failed to read output from testmodel.py, exit status != 0: 0.33759275637567043 0.47467408400000005 0.27941917 Calling exit ...