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.0007505/0.0007505, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.00183, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006864/0.0006864, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008523/0.001539, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8883/0.8883, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/0.9902, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.0781/0.0781, allocations: 17.36 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00832/0.08642, allocations: 6.936 MB / 268.3 MB, free: 6.523 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.072e-06/1.072e-06, allocations: 0 / 269.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.196e-06/9.268e-06, allocations: 2.312 kB / 269.5 MB, free: 5.234 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.1135/0.1135, allocations: 8.816 MB / 278.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02123/0.1348, allocations: 28.85 MB / 307.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006473/0.1354, allocations: 35.69 kB / 307.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008765/0.1363, allocations: 0.5427 MB / 307.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.1404, allocations: 2.602 MB / 310.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.1466, allocations: 3.657 MB / 314.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.1487, allocations: 2.797 MB / 316.9 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.15, allocations: 1.424 MB / 318.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.1515, allocations: 2.072 MB / 320.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.1527, allocations: 1.36 MB / 321.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.153, allocations: 252 kB / 322 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.1575, allocations: 3.158 MB / 325.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000314/0.1578, allocations: 442.7 kB / 325.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005855/0.1584, allocations: 0.6864 MB / 326.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00471/0.1631, allocations: 5.101 MB / 331.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.1631, allocations: 0 / 331.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1631, allocations: 0 / 331.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.1632, allocations: 0 / 331.3 MB, free: 4.762 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.003247/0.1664, allocations: 3.678 MB / 335 MB, free: 1.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1664, allocations: 12.03 kB / 335 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.1676, allocations: 0.7995 MB / 335.8 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.1685, allocations: 0.7971 MB / 336.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.1686, allocations: 357.8 kB / 337 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.1688, allocations: 192.3 kB / 337.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.1703, allocations: 1.787 MB / 338.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.1703, allocations: 4.125 kB / 338.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003465/0.1707, allocations: 76.12 kB / 339 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.1707, allocations: 48 kB / 339.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1722, allocations: 1.535 MB / 340.6 MB, free: 11.3 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.00546/0.1776, allocations: 4.814 MB / 345.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004904/0.1825, allocations: 5.087 MB / 350.5 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.183, allocations: 0.5358 MB / 351 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005471/0.1885, allocations: 4.377 MB / 355.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1885, allocations: 47.88 kB / 355.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005505/0.1891, allocations: 290.8 kB / 355.7 MB, free: 12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=158): time 2.545e-06/0.1891, allocations: 0 / 355.7 MB, free: 12 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.01079/0.1999, allocations: 4.869 MB / 360.6 MB, free: 7.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002621/0.2001, allocations: 73.41 kB / 360.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.2006, allocations: 0.7893 MB / 361.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.2006, allocations: 57.7 kB / 361.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.2009, allocations: 0.7132 MB / 362.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.2012, allocations: 0.6699 MB / 362.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.2015, allocations: 411.7 kB / 363.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.2016, allocations: 305.1 kB / 363.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.202, allocations: 303.3 kB / 363.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.2025, allocations: 0.891 MB / 364.8 MB, free: 2.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2036, allocations: 1.464 MB / 366.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2036, allocations: 4 kB / 366.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.004306/0.2079, allocations: 1.86 MB / 368.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.208, allocations: 16.25 kB / 368.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.208, allocations: 20 kB / 368.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.2098, allocations: 0.6578 MB / 368.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.2108, allocations: 0.6242 MB / 369.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.2131, allocations: 3.025 MB / 372.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.2138, allocations: 66.56 kB / 372.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.2139, allocations: 103.9 kB / 372.6 MB, free: 10.29 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.0003376/0.2143, allocations: 248 kB / 372.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.2144, allocations: 143.9 kB / 373 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/0.219, allocations: 1.894 MB / 374.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.219, allocations: 20 kB / 374.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.219, allocations: 4 kB / 374.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.219, allocations: 19.83 kB / 375 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.2241, allocations: 2.595 MB / 377.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2241, allocations: 0 / 377.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.2249, allocations: 459.4 kB / 378 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/0.225, allocations: 119 kB / 378.1 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.2268, allocations: 0.6344 MB / 378.8 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.2269, allocations: 63.94 kB / 378.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.2289, allocations: 2.913 MB / 381.7 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2289, allocations: 6.297 kB / 381.7 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004472/0.2334, allocations: 2.148 MB / 383.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.2335, allocations: 32 kB / 383.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.2339, allocations: 47.98 kB / 384 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.2341, allocations: 197.6 kB / 384.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.2342, allocations: 55.95 kB / 384.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.2344, allocations: 356 kB / 384.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2344, allocations: 0 / 384.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002186/0.2366, allocations: 1.196 MB / 385.8 MB, free: 12.9 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.001553/0.2382, allocations: 1.485 MB / 387.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2397, allocations: 1.453 MB / 388.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.529e-05/0.2397, allocations: 30.45 kB / 388.7 MB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.2408, allocations: 0.8926 MB / 389.6 MB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/0.2416, allocations: 0.5147 MB / 390.1 MB, free: 8.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.2524, allocations: 3.017 MB / 393.1 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.2526, allocations: 323.8 kB / 393.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008443/0.2534, allocations: 367.3 kB / 393.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007619/0.2542, allocations: 0.5148 MB / 394.3 MB, free: 4.211 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2542, allocations: 0 / 394.3 MB, free: 4.211 MB / 378.7 MB Notification: Performance of Templates: time 0.1558/0.41, allocations: 54.13 MB / 448.5 MB, free: 103.1 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.243784751743078]