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.0006548/0.0006548, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008889/0.001544, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006731/0.0006731, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008677/0.001541, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9922/0.9922, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09012/1.082, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.0811/0.0811, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008917/0.09002, allocations: 6.932 MB / 268.4 MB, free: 6.414 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.252e-06/1.252e-06, allocations: 0 / 269.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.127e-05, allocations: 5.688 kB / 269.8 MB, free: 5.105 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.1311/0.1311, allocations: 8.833 MB / 278.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02333/0.1545, allocations: 28.85 MB / 307.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1556, allocations: 35.69 kB / 307.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.1567, allocations: 0.5465 MB / 308 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.1625, allocations: 2.602 MB / 310.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008602/0.1711, allocations: 3.657 MB / 314.3 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.1742, allocations: 2.785 MB / 317.1 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.1758, allocations: 1.439 MB / 318.5 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.1785, allocations: 2.064 MB / 320.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.1803, allocations: 1.364 MB / 321.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005885/0.1809, allocations: 248 kB / 322.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007375/0.1883, allocations: 3.162 MB / 325.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006532/0.1889, allocations: 438.8 kB / 325.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.1903, allocations: 0.6863 MB / 326.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.2019, allocations: 5.101 MB / 331.5 MB, free: 4.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-05/0.2019, allocations: 4 kB / 331.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2019, allocations: 0 / 331.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.71e-05/0.202, allocations: 7.938 kB / 331.6 MB, free: 4.566 MB / 314.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.004739/0.2068, allocations: 3.671 MB / 335.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2068, allocations: 8.031 kB / 335.2 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.2083, allocations: 0.7878 MB / 336 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.2095, allocations: 0.8088 MB / 336.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.2097, allocations: 357.8 kB / 337.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.21, allocations: 192.3 kB / 337.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.2118, allocations: 1.787 MB / 339.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.2119, allocations: 8.172 kB / 339.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.212, allocations: 76.12 kB / 339.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.212, allocations: 44 kB / 339.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.2138, allocations: 1.542 MB / 340.8 MB, free: 11.11 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.007055/0.2209, allocations: 4.816 MB / 345.6 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/0.2262, allocations: 5.099 MB / 350.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/0.2271, allocations: 0.5303 MB / 351.3 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006493/0.2336, allocations: 4.377 MB / 355.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.2336, allocations: 47.88 kB / 355.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007186/0.2343, allocations: 286.8 kB / 356 MB, free: 11.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=158): time 6.191e-06/0.2344, allocations: 0 / 356 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.01336/0.2477, allocations: 5.495 MB / 361.5 MB, free: 6.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2477, allocations: 73.34 kB / 361.5 MB, free: 6.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.2483, allocations: 0.7893 MB / 362.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.864e-05/0.2484, allocations: 53.7 kB / 362.4 MB, free: 5.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.2487, allocations: 0.7209 MB / 363.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.2491, allocations: 0.6389 MB / 363.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.2494, allocations: 407.6 kB / 364.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.2495, allocations: 301.1 kB / 364.4 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.2499, allocations: 299.1 kB / 364.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.2504, allocations: 0.8788 MB / 365.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2517, allocations: 1.503 MB / 367.1 MB, free: 52 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.2517, allocations: 4 kB / 367.1 MB, free: 48 kB / 346.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004234/0.2559, allocations: 1.845 MB / 369 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.2559, allocations: 16 kB / 369 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.256, allocations: 18.56 kB / 369 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.258, allocations: 0.6541 MB / 369.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.2596, allocations: 0.6203 MB / 370.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.2626, allocations: 3.017 MB / 373.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.2636, allocations: 71.92 kB / 373.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.2638, allocations: 99.98 kB / 373.5 MB, free: 9.52 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 (262): * Single equations (assignments): 259 * 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.0004796/0.2643, allocations: 251.9 kB / 373.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.2645, allocations: 143.9 kB / 373.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005763/0.2703, allocations: 1.884 MB / 375.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.2703, allocations: 24.03 kB / 375.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2703, allocations: 0 / 375.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.2703, allocations: 7.969 kB / 375.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007001/0.2773, allocations: 2.599 MB / 378.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2773, allocations: 8 kB / 378.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00423/0.2816, allocations: 439.5 kB / 378.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.2818, allocations: 119 kB / 378.9 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005362/0.2872, allocations: 0.6266 MB / 379.5 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/0.2874, allocations: 67.94 kB / 379.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/0.2932, allocations: 2.917 MB / 382.5 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2932, allocations: 4 kB / 382.5 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.3052, allocations: 2.113 MB / 384.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.3055, allocations: 36 kB / 384.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.3061, allocations: 39.98 kB / 384.7 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/0.3065, allocations: 189.6 kB / 384.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.3066, allocations: 59.95 kB / 385 MB, free: 13.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000376/0.307, allocations: 359.9 kB / 385.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.307, allocations: 0 / 385.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005978/0.313, allocations: 1.184 MB / 386.5 MB, free: 12.21 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 (184): * Single equations (assignments): 181 * 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.00544/0.3184, allocations: 1.481 MB / 388 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.3208, allocations: 1.461 MB / 389.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.892e-05/0.3209, allocations: 25.81 kB / 389.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3221, allocations: 1.007 MB / 390.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.3235, allocations: 2.015 MB / 392.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.3346, allocations: 2.973 MB / 395.4 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.3348, allocations: 315 kB / 395.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001049/0.3359, allocations: 367.2 kB / 396.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007984/0.3367, allocations: 0.5054 MB / 396.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of SimCode: time 2.224e-06/0.3367, allocations: 0 / 396.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of Templates: time 0.1635/0.5002, allocations: 53.56 MB / 450.2 MB, free: 102.8 MB / 410.7 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.249526847153902]