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.001323/0.001323, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 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.001491/0.001491, allocations: 204.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1349/0.1349, allocations: 23.9 MB / 336.3 MB, free: 10.96 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 471.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 59.86 MB / 0.519 GB, free: 9.82 MB / 382.1 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.07481/0.392, allocations: 28.7 MB / 0.5471 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03514/0.4271, allocations: 25.29 MB / 0.5718 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.4287, allocations: 35.69 kB / 0.5718 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.4302, allocations: 0.5233 MB / 0.5723 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007282/0.4375, allocations: 2.561 MB / 0.5748 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009643/0.4471, allocations: 3.573 MB / 0.5783 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003989/0.4511, allocations: 2.723 MB / 0.5809 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.4531, allocations: 1.352 MB / 0.5823 GB, free: 9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.455, allocations: 1.45 MB / 0.5837 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.4573, allocations: 1.487 MB / 0.5851 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004366/0.4578, allocations: 252 kB / 0.5854 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008213/0.466, allocations: 2.999 MB / 0.5883 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009053/0.4669, allocations: 0.6193 MB / 0.5889 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.4683, allocations: 1.039 MB / 0.5899 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.4794, allocations: 6.109 MB / 0.5959 GB, free: 11.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4794, allocations: 0 / 0.5959 GB, free: 11.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4794, allocations: 4 kB / 0.5959 GB, free: 11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.4794, allocations: 0 / 0.5959 GB, free: 11 MB / 446.1 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.005527/0.485, allocations: 2.927 MB / 0.5988 GB, free: 8.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.485, allocations: 8.031 kB / 0.5988 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.487, allocations: 478.6 kB / 0.5992 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.4891, allocations: 1.046 MB / 0.6002 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.4894, allocations: 353.8 kB / 0.6006 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.4897, allocations: 192.3 kB / 0.6008 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.494, allocations: 2.535 MB / 0.6032 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.4941, allocations: 3.938 kB / 0.6032 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.4943, allocations: 72 kB / 0.6033 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.4943, allocations: 48 kB / 0.6034 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005207/0.4995, allocations: 3.18 MB / 0.6065 GB, free: 24 kB / 446.1 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.01332/0.5128, allocations: 6.898 MB / 0.6132 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009013/0.5218, allocations: 4.642 MB / 0.6177 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.5239, allocations: 1.16 MB / 0.6189 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/0.5365, allocations: 5.773 MB / 0.6245 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.5366, allocations: 47.88 kB / 0.6245 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00131/0.5379, allocations: 298.8 kB / 0.6248 GB, free: 13.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=158): time 4.489e-06/0.5379, allocations: 0 / 0.6248 GB, free: 13.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=187): time 0.02831/0.5662, allocations: 7.354 MB / 0.632 GB, free: 5.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.5662, allocations: 73.41 kB / 0.6321 GB, free: 5.566 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5675, allocations: 0.862 MB / 0.6329 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.5678, allocations: 57.7 kB / 0.633 GB, free: 4.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006586/0.5684, allocations: 0.8324 MB / 0.6338 GB, free: 3.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008136/0.5693, allocations: 0.6701 MB / 0.6344 GB, free: 3.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/0.5699, allocations: 411.9 kB / 0.6348 GB, free: 2.691 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.57, allocations: 309 kB / 0.6351 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.5715, allocations: 0.789 MB / 0.6359 GB, free: 1.594 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.5737, allocations: 1.375 MB / 0.6372 GB, free: 15.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.5775, allocations: 2.36 MB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.5775, allocations: 7.984 kB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01188/0.5894, allocations: 3.38 MB / 0.6429 GB, free: 9.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.5894, allocations: 12 kB / 0.6429 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.5894, allocations: 20 kB / 0.6429 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003638/0.5931, allocations: 0.8104 MB / 0.6437 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.5949, allocations: 0.5226 MB / 0.6442 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.6005, allocations: 3.616 MB / 0.6477 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.6019, allocations: 76.05 kB / 0.6478 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.6022, allocations: 120 kB / 0.6479 GB, free: 4.551 MB / 494.1 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.0008215/0.603, allocations: 405 kB / 0.6483 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.6034, allocations: 143.1 kB / 0.6484 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.6153, allocations: 3.326 MB / 0.6517 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.6153, allocations: 20 kB / 0.6517 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6153, allocations: 0 / 0.6517 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/0.6154, allocations: 11.95 kB / 0.6517 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.6297, allocations: 4.749 MB / 0.6564 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6297, allocations: 0 / 0.6564 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.6312, allocations: 359.5 kB / 0.6567 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/0.6347, allocations: 0.8022 MB / 0.6575 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.6349, allocations: 63.94 kB / 0.6575 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005188/0.6401, allocations: 3.516 MB / 0.661 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6401, allocations: 3.938 kB / 0.661 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.6532, allocations: 4.23 MB / 0.6651 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.6536, allocations: 123 kB / 0.6652 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.6538, allocations: 36 kB / 0.6653 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000993/0.6548, allocations: 39.98 kB / 0.6653 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004909/0.6553, allocations: 205.6 kB / 0.6655 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/0.6555, allocations: 75.95 kB / 0.6656 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000782/0.6563, allocations: 0.5331 MB / 0.6661 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6563, allocations: 0 / 0.6661 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003154/0.6594, allocations: 1.196 MB / 0.6673 GB, free: 420 kB / 0.4981 GB 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.002727/0.6622, allocations: 1.366 MB / 0.6686 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004827/0.667, allocations: 2.335 MB / 0.6709 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.667, allocations: 3.938 kB / 0.6709 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00263/0.6696, allocations: 1.314 MB / 0.6722 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.6712, allocations: 316.6 kB / 0.6725 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006827/0.6781, allocations: 3.393 MB / 0.6758 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009076/0.679, allocations: 0.7517 MB / 0.6765 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001519/0.6805, allocations: 407.6 kB / 0.6769 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.6811, allocations: 271.1 kB / 0.6772 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.6811, allocations: 0 / 0.6772 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.07325/0.7544, allocations: 49.12 MB / 0.7251 GB, free: 5.285 MB / 0.5606 GB " [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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.795174352824688] Failed to read output from testmodel.py, exit status != 0: 0.7628494203090668 0.941310563 0.45909286400000004 Calling exit ...