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.001286/0.001286, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001496/0.001496, allocations: 169 kB / 23.27 MB, free: 1.223 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.9886/0.9886, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.08884/0.08884, allocations: 17.47 MB / 277.7 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.442e-06/1.442e-06, allocations: 0 / 354 MB, free: 9.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.755e-05, allocations: 2.312 kB / 354 MB, free: 9.559 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.02948/0.02949, allocations: 32.4 MB / 386.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.149/0.1785, allocations: 28.2 MB / 414.6 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.1798, allocations: 33.81 kB / 414.7 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.181, allocations: 0.5308 MB / 415.2 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.1868, allocations: 2.655 MB / 417.8 MB, free: 33.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007759/0.1945, allocations: 3.679 MB / 421.5 MB, free: 33.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004104/0.1986, allocations: 2.81 MB / 424.3 MB, free: 32.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.2009, allocations: 1.414 MB / 425.7 MB, free: 32.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.2039, allocations: 1.96 MB / 427.7 MB, free: 31.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.2058, allocations: 1.376 MB / 429.1 MB, free: 31.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005696/0.2064, allocations: 252 kB / 429.3 MB, free: 31.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00635/0.2127, allocations: 3.027 MB / 432.3 MB, free: 31.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005131/0.2132, allocations: 0.6317 MB / 433 MB, free: 30.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.2144, allocations: 0.9035 MB / 433.9 MB, free: 30.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.2246, allocations: 5.6 MB / 439.5 MB, free: 27.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2246, allocations: 4 kB / 439.5 MB, free: 27.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2246, allocations: 3.094 kB / 439.5 MB, free: 27.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.275e-05/0.2247, allocations: 0 / 439.5 MB, free: 27.59 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.003919/0.2286, allocations: 3.039 MB / 442.5 MB, free: 25.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2286, allocations: 8.031 kB / 442.5 MB, free: 25.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.2302, allocations: 0.7687 MB / 443.3 MB, free: 24.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.2313, allocations: 1.033 MB / 444.3 MB, free: 23.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.2314, allocations: 357.8 kB / 444.7 MB, free: 23.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.2316, allocations: 191.1 kB / 444.9 MB, free: 22.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.2333, allocations: 1.78 MB / 446.7 MB, free: 21.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.2333, allocations: 192 / 446.7 MB, free: 21.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.2334, allocations: 72.38 kB / 446.7 MB, free: 21.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.2334, allocations: 47.94 kB / 446.8 MB, free: 21.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.235, allocations: 1.752 MB / 448.5 MB, free: 19.32 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.006073/0.2411, allocations: 6.163 MB / 454.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004526/0.2456, allocations: 5.255 MB / 459.9 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.2462, allocations: 0.6194 MB / 460.6 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005969/0.2522, allocations: 5.305 MB / 465.9 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2522, allocations: 56.17 kB / 465.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006565/0.2529, allocations: 290.3 kB / 466.2 MB, free: 2.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 5.05e-06/0.2529, allocations: 0 / 466.2 MB, free: 2.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.0121/0.265, allocations: 4.961 MB / 471.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.265, allocations: 72.5 kB / 471.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.2656, allocations: 0.8803 MB / 472.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.136e-05/0.2657, allocations: 60.36 kB / 472.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.2661, allocations: 0.885 MB / 473.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.2665, allocations: 0.671 MB / 473.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/0.2669, allocations: 425.2 kB / 474.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.267, allocations: 479.6 kB / 474.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.2674, allocations: 356.1 kB / 475 MB, free: 9.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009799/0.2684, allocations: 1.18 MB / 476.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.2698, allocations: 1.734 MB / 477.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.2699, allocations: 8 kB / 477.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005114/0.275, allocations: 2.312 MB / 480.2 MB, free: 4.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.275, allocations: 12 kB / 480.2 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.275, allocations: 20 kB / 480.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.277, allocations: 0.6774 MB / 480.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.278, allocations: 0.524 MB / 481.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.2812, allocations: 4.328 MB / 485.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.2822, allocations: 67.88 kB / 485.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.2824, allocations: 110.6 kB / 485.9 MB, free: 14.23 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.0005137/0.2829, allocations: 289 kB / 486.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.2833, allocations: 205.7 kB / 486.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/0.29, allocations: 2.248 MB / 488.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.29, allocations: 20 kB / 488.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2901, allocations: 3.938 kB / 488.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.2901, allocations: 7.969 kB / 488.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008244/0.2983, allocations: 3.291 MB / 492 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.2983, allocations: 2.656 kB / 492 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.2994, allocations: 371.5 kB / 492.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/0.302, allocations: 0.6574 MB / 493 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.3021, allocations: 63.95 kB / 493.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.3056, allocations: 4.234 MB / 497.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3056, allocations: 5.359 kB / 497.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/0.3125, allocations: 2.539 MB / 499.8 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.3128, allocations: 127 kB / 500 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.3129, allocations: 32 kB / 0.4883 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.3135, allocations: 40 kB / 0.4883 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.3139, allocations: 209.5 kB / 0.4885 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.314, allocations: 70.61 kB / 0.4886 GB, free: 15.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000397/0.3144, allocations: 481.5 kB / 0.4891 GB, free: 15.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3144, allocations: 0 / 0.4891 GB, free: 15.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003037/0.3175, allocations: 1.192 MB / 0.4902 GB, free: 14.31 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.002626/0.3201, allocations: 1.483 MB / 0.4917 GB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.323, allocations: 1.709 MB / 0.4933 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.323, allocations: 0 / 0.4933 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.3244, allocations: 1.077 MB / 0.4944 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3256, allocations: 360.7 kB / 0.4947 GB, free: 9.93 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.005217/0.3309, allocations: 2.985 MB / 0.4976 GB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3311, allocations: 323.8 kB / 0.498 GB, free: 6.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001108/0.3322, allocations: 370.5 kB / 0.4983 GB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.3333, allocations: 0.5695 MB / 0.4989 GB, free: 5.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3333, allocations: 0 / 0.4989 GB, free: 5.82 MB / 378.7 MB Notification: Performance of Templates: time 0.1013/0.4346, allocations: 53.53 MB / 0.5511 GB, free: 1.02 MB / 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.354631918016821]