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.001281/0.001281, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001426/0.001426, allocations: 224 kB / 23 MB, free: 4.91 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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.1594/0.1594, allocations: 23.99 MB / 337.2 MB, free: 10.87 MB / 270.1 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: 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.002078/0.002078, allocations: 63.91 kB / 472.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2785, allocations: 59.9 MB / 0.52 GB, free: 9.766 MB / 382.1 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.07309/0.3516, allocations: 28.71 MB / 0.548 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03626/0.3878, allocations: 25.3 MB / 0.5727 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.3895, allocations: 31.75 kB / 0.5727 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.3914, allocations: 0.5194 MB / 0.5732 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007873/0.3992, allocations: 2.565 MB / 0.5757 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009935/0.4092, allocations: 3.581 MB / 0.5792 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004312/0.4135, allocations: 2.723 MB / 0.5819 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.4154, allocations: 1.348 MB / 0.5832 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.4172, allocations: 1.446 MB / 0.5846 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.4195, allocations: 1.491 MB / 0.5861 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004637/0.42, allocations: 252 kB / 0.5863 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008705/0.4287, allocations: 3.003 MB / 0.5893 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008072/0.4295, allocations: 0.6155 MB / 0.5899 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.4308, allocations: 1.039 MB / 0.5909 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.4432, allocations: 6.109 MB / 0.5968 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4432, allocations: 0 / 0.5968 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4432, allocations: 0 / 0.5968 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.794e-05/0.4433, allocations: 0 / 0.5968 GB, free: 10.79 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.006178/0.4495, allocations: 2.931 MB / 0.5997 GB, free: 7.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4495, allocations: 19.97 kB / 0.5997 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.4516, allocations: 466.8 kB / 0.6002 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.4538, allocations: 1.05 MB / 0.6012 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.4541, allocations: 353.8 kB / 0.6015 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.4544, allocations: 192.3 kB / 0.6017 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.4588, allocations: 2.531 MB / 0.6042 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.4588, allocations: 4 kB / 0.6042 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.459, allocations: 68 kB / 0.6042 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.4591, allocations: 48 kB / 0.6043 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/0.4644, allocations: 3.176 MB / 0.6074 GB, free: 15.81 MB / 462.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.01394/0.4784, allocations: 6.902 MB / 0.6141 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00909/0.4875, allocations: 4.646 MB / 0.6187 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.4896, allocations: 1.157 MB / 0.6198 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/0.5024, allocations: 5.769 MB / 0.6254 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.5025, allocations: 55.81 kB / 0.6255 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001358/0.5038, allocations: 302.8 kB / 0.6258 GB, free: 12.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=158): time 4.108e-06/0.5038, allocations: 0 / 0.6258 GB, free: 12.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=187): time 0.0294/0.5332, allocations: 7.347 MB / 0.633 GB, free: 5.434 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.5333, allocations: 77.34 kB / 0.633 GB, free: 5.348 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5345, allocations: 0.8581 MB / 0.6339 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000262/0.5347, allocations: 57.7 kB / 0.6339 GB, free: 4.406 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.5354, allocations: 0.8363 MB / 0.6347 GB, free: 3.559 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00074/0.5361, allocations: 0.67 MB / 0.6354 GB, free: 2.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006489/0.5368, allocations: 411.9 kB / 0.6358 GB, free: 2.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5369, allocations: 305.1 kB / 0.6361 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.5384, allocations: 0.789 MB / 0.6368 GB, free: 1.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.5405, allocations: 1.371 MB / 0.6382 GB, free: 15.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/0.5443, allocations: 2.36 MB / 0.6405 GB, free: 13.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.5443, allocations: 8 kB / 0.6405 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01209/0.5564, allocations: 3.384 MB / 0.6438 GB, free: 9.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5564, allocations: 12 kB / 0.6438 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.5564, allocations: 20.12 kB / 0.6438 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/0.5601, allocations: 0.814 MB / 0.6446 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.5621, allocations: 0.5188 MB / 0.6451 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/0.568, allocations: 3.616 MB / 0.6487 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5695, allocations: 67.98 kB / 0.6487 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.5697, allocations: 131.9 kB / 0.6489 GB, free: 4.332 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.0007996/0.5705, allocations: 405.1 kB / 0.6492 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.5709, allocations: 147.1 kB / 0.6494 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.5831, allocations: 3.318 MB / 0.6526 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.5831, allocations: 20 kB / 0.6526 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5831, allocations: 8 kB / 0.6526 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.5831, allocations: 7.969 kB / 0.6527 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.5979, allocations: 4.738 MB / 0.6573 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.5979, allocations: 3.938 kB / 0.6573 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.5997, allocations: 367.5 kB / 0.6576 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/0.6034, allocations: 0.7867 MB / 0.6584 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003232/0.6037, allocations: 67.95 kB / 0.6585 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.6091, allocations: 3.512 MB / 0.6619 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.6091, allocations: 8.016 kB / 0.6619 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/0.623, allocations: 4.237 MB / 0.666 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.6234, allocations: 131 kB / 0.6662 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.6237, allocations: 32 kB / 0.6662 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.6246, allocations: 43.98 kB / 0.6662 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/0.6251, allocations: 201.6 kB / 0.6664 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.6253, allocations: 83.94 kB / 0.6665 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000742/0.626, allocations: 0.5292 MB / 0.667 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.626, allocations: 0 / 0.667 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00311/0.6291, allocations: 1.192 MB / 0.6682 GB, free: 196 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.00251/0.6316, allocations: 1.359 MB / 0.6695 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004769/0.6364, allocations: 2.346 MB / 0.6718 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.6364, allocations: 0 / 0.6718 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.639, allocations: 1.31 MB / 0.6731 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.6405, allocations: 311 kB / 0.6734 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/0.6471, allocations: 3.447 MB / 0.6768 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.6479, allocations: 0.7478 MB / 0.6775 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/0.6488, allocations: 351 kB / 0.6778 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.6488, allocations: 0 / 0.6778 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.2719/0.9207, allocations: 57.03 MB / 0.7335 GB, free: 174.6 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.06732460623607] Failed to read output from testmodel.py, exit status != 0: 0.9290685714222491 0.940641448 0.49470679300000003 Calling exit ...