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.0009196/0.0009196, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0009632/0.0009632, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9628/0.9628, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.09368/0.09368, allocations: 17.38 MB / 277.6 MB, free: 11.52 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.583e-06/1.583e-06, allocations: 0 / 300.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.986e-05, allocations: 3.078 kB / 300.7 MB, free: 1.82 MB / 266.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.03907/0.0391, allocations: 38.23 MB / 338.9 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.06446, allocations: 28.64 MB / 367.6 MB, free: 1.562 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.06608, allocations: 35.69 kB / 367.6 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.0674, allocations: 0.5503 MB / 368.1 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.07401, allocations: 2.61 MB / 370.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009431/0.08344, allocations: 3.657 MB / 374.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.08704, allocations: 2.812 MB / 377.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.08878, allocations: 1.423 MB / 378.6 MB, free: 6.367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.09089, allocations: 1.938 MB / 380.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.09265, allocations: 1.36 MB / 381.9 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.09317, allocations: 252 kB / 382.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007138/0.1003, allocations: 3.138 MB / 385.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006274/0.1009, allocations: 0.6348 MB / 386 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.1023, allocations: 0.9005 MB / 386.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.1142, allocations: 5.603 MB / 392.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1142, allocations: 0 / 392.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1142, allocations: 0 / 392.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.117e-05/0.1143, allocations: 3.984 kB / 392.5 MB, free: 8.504 MB / 362.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.004167/0.1185, allocations: 2.886 MB / 395.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1185, allocations: 8.031 kB / 395.4 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.12, allocations: 0.7164 MB / 396.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1211, allocations: 0.8088 MB / 396.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.1212, allocations: 357.8 kB / 397.2 MB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.1214, allocations: 188.3 kB / 397.4 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.1233, allocations: 1.787 MB / 399.2 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.1233, allocations: 4.188 kB / 399.2 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.1235, allocations: 72.12 kB / 399.3 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.1235, allocations: 52 kB / 399.3 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1256, allocations: 1.539 MB / 400.9 MB, free: 15.93 MB / 378.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.007342/0.133, allocations: 4.803 MB / 405.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0077/0.1407, allocations: 5.089 MB / 410.8 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/0.1414, allocations: 0.5357 MB / 411.3 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007107/0.1485, allocations: 4.54 MB / 415.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1486, allocations: 51.81 kB / 415.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008406/0.1494, allocations: 286.8 kB / 416.2 MB, free: 488 kB / 378.7 MB Notification: Performance of pre-optimization done (n=158): time 8.355e-06/0.1494, allocations: 0 / 416.2 MB, free: 488 kB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.01293/0.1623, allocations: 4.858 MB / 421 MB, free: 11.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1624, allocations: 73.41 kB / 421.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.1631, allocations: 0.7893 MB / 421.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.1632, allocations: 57.7 kB / 421.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.1635, allocations: 0.7248 MB / 422.7 MB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.1639, allocations: 0.6583 MB / 423.3 MB, free: 9.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/0.1643, allocations: 411.7 kB / 423.7 MB, free: 8.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.1643, allocations: 305.1 kB / 424 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.1647, allocations: 307.3 kB / 424.3 MB, free: 8.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.1654, allocations: 0.8832 MB / 425.2 MB, free: 7.062 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.1667, allocations: 1.46 MB / 426.7 MB, free: 5.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.1667, allocations: 8 kB / 426.7 MB, free: 5.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.004739/0.1715, allocations: 1.865 MB / 428.5 MB, free: 3.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1715, allocations: 16.25 kB / 428.6 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.1715, allocations: 16 kB / 428.6 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.1735, allocations: 0.654 MB / 429.2 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.1747, allocations: 0.5694 MB / 429.8 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.1774, allocations: 3.022 MB / 432.8 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009035/0.1783, allocations: 64 kB / 432.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.1785, allocations: 99.94 kB / 433 MB, free: 14.84 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.0005509/0.179, allocations: 248 kB / 433.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.1793, allocations: 143.9 kB / 433.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005041/0.1843, allocations: 1.897 MB / 435.3 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.1843, allocations: 16 kB / 435.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1843, allocations: 8 kB / 435.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.1843, allocations: 11.91 kB / 435.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006008/0.1903, allocations: 2.595 MB / 437.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1904, allocations: 0 / 437.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/0.1912, allocations: 411.5 kB / 438.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.1932, allocations: 0.6266 MB / 438.9 MB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.1934, allocations: 63.94 kB / 439 MB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.1959, allocations: 2.925 MB / 441.9 MB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1959, allocations: 3.938 kB / 441.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.2013, allocations: 2.148 MB / 444.1 MB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.2017, allocations: 127 kB / 444.2 MB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.2018, allocations: 32 kB / 444.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.2022, allocations: 44 kB / 444.3 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003471/0.2026, allocations: 193.6 kB / 444.4 MB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.2027, allocations: 59.95 kB / 444.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003368/0.203, allocations: 356 kB / 444.9 MB, free: 2.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.203, allocations: 0 / 444.9 MB, free: 2.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00259/0.2056, allocations: 1.192 MB / 446 MB, free: 1.484 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.1245/0.3301, allocations: 1.486 MB / 447.5 MB, free: 97.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.3327, allocations: 1.451 MB / 449 MB, free: 97.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.544e-05/0.3328, allocations: 16.97 kB / 449 MB, free: 97.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3341, allocations: 0.8876 MB / 449.9 MB, free: 96.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3353, allocations: 351.4 kB / 450.2 MB, free: 96.76 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.004631/0.3399, allocations: 2.953 MB / 453.2 MB, free: 95.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3402, allocations: 317.6 kB / 453.5 MB, free: 95.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001093/0.3413, allocations: 380.9 kB / 453.9 MB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009561/0.3423, allocations: 0.507 MB / 454.4 MB, free: 95.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3423, allocations: 0 / 454.4 MB, free: 95.39 MB / 410.7 MB Notification: Performance of Templates: time 0.04826/0.3905, allocations: 53.43 MB / 0.4959 GB, free: 61.27 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.125359738711268]