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.0008997/0.0008997, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009787/0.0009787, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9378/0.9378, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.1086/0.1086, allocations: 17.47 MB / 278.5 MB, free: 11.39 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.673e-06/1.673e-06, allocations: 0 / 354.8 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.656e-05, allocations: 2.312 kB / 354.8 MB, free: 9.551 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.02919/0.02921, allocations: 32.38 MB / 387.2 MB, free: 9.289 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1429/0.1722, allocations: 28.2 MB / 415.4 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009769/0.1731, allocations: 34.19 kB / 415.4 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1742, allocations: 0.5293 MB / 415.9 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.1792, allocations: 2.655 MB / 418.6 MB, free: 33.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00647/0.1857, allocations: 3.675 MB / 422.3 MB, free: 33.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.1885, allocations: 2.809 MB / 425.1 MB, free: 32.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.1901, allocations: 1.41 MB / 426.5 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.1924, allocations: 1.962 MB / 428.5 MB, free: 31.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.1941, allocations: 1.381 MB / 429.8 MB, free: 31.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.1946, allocations: 248.3 kB / 430.1 MB, free: 31.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006345/0.2009, allocations: 3.025 MB / 433.1 MB, free: 31.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004834/0.2014, allocations: 0.6366 MB / 433.7 MB, free: 30.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.2024, allocations: 0.9001 MB / 434.6 MB, free: 30.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009411/0.2118, allocations: 5.607 MB / 440.2 MB, free: 27.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2118, allocations: 0 / 440.2 MB, free: 27.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2118, allocations: 0 / 440.2 MB, free: 27.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.51e-05/0.2119, allocations: 2.656 kB / 440.2 MB, free: 27.6 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.003404/0.2153, allocations: 3.037 MB / 443.3 MB, free: 25.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2153, allocations: 8.031 kB / 443.3 MB, free: 25.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.2168, allocations: 0.7687 MB / 444.1 MB, free: 24.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.2178, allocations: 1.035 MB / 445.1 MB, free: 23.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.2179, allocations: 357.8 kB / 445.4 MB, free: 23.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2181, allocations: 192 kB / 445.6 MB, free: 22.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2196, allocations: 1.779 MB / 447.4 MB, free: 21.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.2197, allocations: 192 / 447.4 MB, free: 21.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.2198, allocations: 75.03 kB / 447.5 MB, free: 21.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.2198, allocations: 47.94 kB / 447.5 MB, free: 21.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.2213, allocations: 1.754 MB / 449.3 MB, free: 19.34 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.005836/0.2272, allocations: 6.166 MB / 455.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.2318, allocations: 5.256 MB / 460.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.2324, allocations: 0.612 MB / 461.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00591/0.2383, allocations: 5.243 MB / 466.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2384, allocations: 50.7 kB / 466.6 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006664/0.239, allocations: 288.1 kB / 466.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 3.807e-06/0.239, allocations: 0 / 466.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.01324/0.2523, allocations: 4.961 MB / 471.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.2523, allocations: 73.41 kB / 471.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.2531, allocations: 0.876 MB / 472.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.2532, allocations: 63.58 kB / 472.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/0.2537, allocations: 0.8863 MB / 473.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/0.2542, allocations: 0.6675 MB / 474.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005092/0.2547, allocations: 426.4 kB / 474.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2548, allocations: 476.8 kB / 475.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.2554, allocations: 356.1 kB / 475.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.2564, allocations: 1.188 MB / 476.8 MB, free: 8.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.2585, allocations: 1.735 MB / 478.6 MB, free: 6.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.2585, allocations: 7.984 kB / 478.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.007026/0.2655, allocations: 2.306 MB / 480.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.2656, allocations: 17.72 kB / 480.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.2656, allocations: 20 kB / 480.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.2683, allocations: 0.6801 MB / 481.6 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.2697, allocations: 0.5249 MB / 482.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.2736, allocations: 4.329 MB / 486.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.2747, allocations: 73.53 kB / 486.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.2749, allocations: 107.9 kB / 486.6 MB, free: 14.25 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.0005224/0.2754, allocations: 290.9 kB / 486.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.2758, allocations: 207.1 kB / 487.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006878/0.2827, allocations: 2.232 MB / 489.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.2827, allocations: 20 kB / 489.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2827, allocations: 3.938 kB / 489.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.2827, allocations: 7.969 kB / 489.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008407/0.2911, allocations: 3.29 MB / 492.7 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2911, allocations: 2.688 kB / 492.7 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.2922, allocations: 376.8 kB / 493 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.2948, allocations: 0.6531 MB / 493.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.295, allocations: 71.94 kB / 493.8 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.2981, allocations: 4.226 MB / 498 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2981, allocations: 0 / 498 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.3036, allocations: 2.547 MB / 0.4888 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.304, allocations: 131 kB / 0.4889 GB, free: 324 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3041, allocations: 32 kB / 0.489 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.3046, allocations: 40 kB / 0.489 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.3049, allocations: 213.5 kB / 0.4892 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.305, allocations: 59.95 kB / 0.4893 GB, free: 15.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003536/0.3054, allocations: 486.4 kB / 0.4897 GB, free: 15.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3054, allocations: 0 / 0.4897 GB, free: 15.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002501/0.3079, allocations: 1.196 MB / 0.4909 GB, free: 14.34 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.002087/0.3099, allocations: 1.474 MB / 0.4923 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.312, allocations: 1.704 MB / 0.494 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.312, allocations: 0 / 0.494 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.3132, allocations: 1.077 MB / 0.495 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/0.3142, allocations: 364.3 kB / 0.4954 GB, free: 9.969 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.004052/0.3182, allocations: 2.974 MB / 0.4983 GB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.3184, allocations: 322.5 kB / 0.4986 GB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008796/0.3193, allocations: 380.9 kB / 0.499 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.3201, allocations: 0.5669 MB / 0.4995 GB, free: 5.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3201, allocations: 0 / 0.4995 GB, free: 5.859 MB / 378.7 MB Notification: Performance of Templates: time 0.05312/0.3732, allocations: 54.17 MB / 0.5524 GB, free: 468 kB / 426.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 sys.exit(0), Time elapsed: 4.590935084037483]