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.0008991/0.0008991, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.0009014/0.0009014, allocations: 173 kB / 24.06 MB, free: 452 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.9689/0.9689, allocations: 177.1 MB / 204.5 MB, free: 4.984 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.08857/0.08857, allocations: 17.37 MB / 278.4 MB, free: 11.31 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 3.066e-06/3.066e-06, allocations: 0 / 354.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.352e-05, allocations: 6.25 kB / 354.7 MB, free: 10.69 MB / 330.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.0265/0.02653, allocations: 32.37 MB / 387.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02053/0.04706, allocations: 28.21 MB / 415.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008651/0.04792, allocations: 39.69 kB / 415.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.04893, allocations: 0.527 MB / 415.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.05332, allocations: 2.653 MB / 418.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006627/0.05995, allocations: 3.681 MB / 422.2 MB, free: 7.148 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.06247, allocations: 2.812 MB / 425 MB, free: 4.324 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.06381, allocations: 1.423 MB / 426.4 MB, free: 2.871 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.06549, allocations: 1.954 MB / 428.4 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.06723, allocations: 1.38 MB / 429.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003702/0.0676, allocations: 248 kB / 430 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005987/0.07359, allocations: 3.021 MB / 433 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.074, allocations: 0.6309 MB / 433.6 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006947/0.07469, allocations: 0.9082 MB / 434.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.08058, allocations: 5.603 MB / 440.1 MB, free: 5.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.08058, allocations: 0 / 440.1 MB, free: 5.094 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08058, allocations: 0 / 440.1 MB, free: 5.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.0806, allocations: 0 / 440.1 MB, free: 5.094 MB / 410.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.003175/0.08377, allocations: 3.036 MB / 443.2 MB, free: 2.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.08381, allocations: 12.03 kB / 443.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.08519, allocations: 0.7624 MB / 443.9 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.08629, allocations: 1.04 MB / 445 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1572/0.2435, allocations: 350.5 kB / 445.3 MB, free: 86.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005728/0.2441, allocations: 195.9 kB / 445.5 MB, free: 86.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.2462, allocations: 1.781 MB / 447.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.2463, allocations: 192 / 447.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.2464, allocations: 74.78 kB / 447.4 MB, free: 86.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.2465, allocations: 45.19 kB / 447.4 MB, free: 86.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.2483, allocations: 1.748 MB / 449.2 MB, free: 86.59 MB / 410.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.007172/0.2555, allocations: 6.165 MB / 455.3 MB, free: 84.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005119/0.2606, allocations: 5.262 MB / 460.6 MB, free: 84.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.2613, allocations: 0.6198 MB / 461.2 MB, free: 84.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006373/0.2676, allocations: 5.226 MB / 466.4 MB, free: 83.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.2677, allocations: 57.48 kB / 466.5 MB, free: 83.93 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000765/0.2684, allocations: 287.8 kB / 466.8 MB, free: 83.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=158): time 5.57e-06/0.2684, allocations: 3.281 kB / 466.8 MB, free: 83.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01264/0.2811, allocations: 4.949 MB / 471.7 MB, free: 83.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2811, allocations: 74.31 kB / 471.8 MB, free: 83.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.2819, allocations: 0.8869 MB / 472.7 MB, free: 83.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.282, allocations: 57.39 kB / 472.7 MB, free: 83.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.2824, allocations: 0.8837 MB / 473.6 MB, free: 82.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.2828, allocations: 0.6649 MB / 474.3 MB, free: 82.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.2832, allocations: 431.5 kB / 474.7 MB, free: 82.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.2833, allocations: 478.1 kB / 475.2 MB, free: 81.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.2838, allocations: 357.6 kB / 475.5 MB, free: 81.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/0.2846, allocations: 1.184 MB / 476.7 MB, free: 80.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.2861, allocations: 1.729 MB / 478.4 MB, free: 79.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.2861, allocations: 5.656 kB / 478.5 MB, free: 79.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005384/0.2915, allocations: 2.316 MB / 480.8 MB, free: 78.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.2915, allocations: 12.75 kB / 480.8 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.2915, allocations: 16.38 kB / 480.8 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/0.2937, allocations: 0.6863 MB / 481.5 MB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.2948, allocations: 0.5189 MB / 482 MB, free: 78.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.2975, allocations: 4.324 MB / 486.3 MB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.2986, allocations: 70.94 kB / 486.4 MB, free: 74.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.2987, allocations: 110.9 kB / 486.5 MB, free: 74.83 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.0004728/0.2992, allocations: 295.2 kB / 486.8 MB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.2995, allocations: 201.2 kB / 487 MB, free: 74.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004986/0.3045, allocations: 2.243 MB / 489.2 MB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.3045, allocations: 19.84 kB / 489.2 MB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3045, allocations: 1.688 kB / 489.3 MB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.3045, allocations: 12.31 kB / 489.3 MB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006579/0.3111, allocations: 3.304 MB / 492.6 MB, free: 72.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3111, allocations: 0.6562 kB / 492.6 MB, free: 72.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/0.3119, allocations: 366.7 kB / 492.9 MB, free: 72.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.3141, allocations: 0.6579 MB / 493.6 MB, free: 72.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.3143, allocations: 68.27 kB / 493.7 MB, free: 72.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.3168, allocations: 4.222 MB / 497.9 MB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3168, allocations: 5.281 kB / 497.9 MB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005831/0.3226, allocations: 2.541 MB / 0.4887 GB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.3229, allocations: 128.1 kB / 0.4888 GB, free: 68.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.3231, allocations: 34.19 kB / 0.4888 GB, free: 68.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.3235, allocations: 34.97 kB / 0.4889 GB, free: 68.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/0.3239, allocations: 218.6 kB / 0.4891 GB, free: 68.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/0.324, allocations: 64.84 kB / 0.4891 GB, free: 68.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003034/0.3243, allocations: 483.7 kB / 0.4896 GB, free: 67.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3243, allocations: 3.844 kB / 0.4896 GB, free: 67.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002421/0.3267, allocations: 1.191 MB / 0.4908 GB, free: 67.75 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.001801/0.3285, allocations: 1.473 MB / 0.4922 GB, free: 67.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.3306, allocations: 1.703 MB / 0.4939 GB, free: 66.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3306, allocations: 0 / 0.4939 GB, free: 66.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3317, allocations: 1.076 MB / 0.4949 GB, free: 65.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.3327, allocations: 373.5 kB / 0.4953 GB, free: 65.5 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.004129/0.3368, allocations: 2.97 MB / 0.4982 GB, free: 62.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.337, allocations: 324.6 kB / 0.4985 GB, free: 62.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009198/0.3379, allocations: 373.8 kB / 0.4989 GB, free: 62.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00078/0.3387, allocations: 0.567 MB / 0.4994 GB, free: 61.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3387, allocations: 0 / 0.4994 GB, free: 61.89 MB / 410.7 MB Notification: Performance of Templates: time 0.0468/0.3855, allocations: 54.17 MB / 0.5523 GB, free: 10.79 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.451143328100443]