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.001388/0.001388, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001887/0.001887, allocations: 217.2 kB / 22.25 MB, free: 5.105 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.828 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.1478/0.1478, allocations: 23.93 MB / 336.3 MB, free: 10.94 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.00211/0.00211, allocations: 67.89 kB / 471.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 59.88 MB / 0.5191 GB, free: 9.707 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.07747/0.4392, allocations: 28.62 MB / 0.5471 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04107/0.4803, allocations: 25.28 MB / 0.5717 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.4825, allocations: 35.69 kB / 0.5718 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.4846, allocations: 0.5194 MB / 0.5723 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008695/0.4933, allocations: 2.569 MB / 0.5748 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01069/0.504, allocations: 3.577 MB / 0.5783 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004408/0.5084, allocations: 2.727 MB / 0.5809 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.5104, allocations: 1.368 MB / 0.5823 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.5124, allocations: 1.442 MB / 0.5837 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.5151, allocations: 1.659 MB / 0.5853 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.5156, allocations: 248 kB / 0.5855 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009166/0.5248, allocations: 3.073 MB / 0.5886 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.5259, allocations: 0.6232 MB / 0.5892 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.5276, allocations: 1.035 MB / 0.5902 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.5426, allocations: 6.105 MB / 0.5961 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5426, allocations: 3.938 kB / 0.5961 GB, free: 10.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5426, allocations: 0 / 0.5961 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.766e-05/0.5427, allocations: 4 kB / 0.5961 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.00685/0.5495, allocations: 2.927 MB / 0.599 GB, free: 7.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5495, allocations: 12.03 kB / 0.599 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.5518, allocations: 474.8 kB / 0.5995 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.554, allocations: 1.046 MB / 0.6005 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/0.5544, allocations: 357.8 kB / 0.6008 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.5547, allocations: 188.3 kB / 0.601 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.5592, allocations: 2.535 MB / 0.6035 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.5593, allocations: 0 / 0.6035 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.5595, allocations: 72 kB / 0.6035 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.5595, allocations: 44 kB / 0.6036 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005539/0.565, allocations: 3.184 MB / 0.6067 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.01485/0.5799, allocations: 6.898 MB / 0.6134 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009894/0.5898, allocations: 4.651 MB / 0.618 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.5925, allocations: 1.16 MB / 0.6191 GB, free: 2.984 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/0.6067, allocations: 5.768 MB / 0.6247 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.6068, allocations: 51.88 kB / 0.6248 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001449/0.6082, allocations: 298.8 kB / 0.6251 GB, free: 12.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=158): time 5.04e-06/0.6082, allocations: 0 / 0.6251 GB, free: 12.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=187): time 0.03094/0.6392, allocations: 7.354 MB / 0.6323 GB, free: 5.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.6392, allocations: 73.41 kB / 0.6323 GB, free: 5.348 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.6405, allocations: 0.862 MB / 0.6332 GB, free: 4.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.6408, allocations: 53.7 kB / 0.6332 GB, free: 4.406 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/0.6414, allocations: 0.8324 MB / 0.634 GB, free: 3.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007957/0.6422, allocations: 0.67 MB / 0.6347 GB, free: 2.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/0.6429, allocations: 411.9 kB / 0.6351 GB, free: 2.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6431, allocations: 305.1 kB / 0.6354 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.6447, allocations: 0.7929 MB / 0.6362 GB, free: 1.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.6469, allocations: 1.367 MB / 0.6375 GB, free: 15.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.6515, allocations: 2.364 MB / 0.6398 GB, free: 13.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.6515, allocations: 11.94 kB / 0.6398 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01325/0.6648, allocations: 3.376 MB / 0.6431 GB, free: 9.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.6648, allocations: 16 kB / 0.6431 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.6648, allocations: 16 kB / 0.6431 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/0.6689, allocations: 0.8142 MB / 0.6439 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.6711, allocations: 0.5226 MB / 0.6444 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/0.6773, allocations: 3.616 MB / 0.648 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.679, allocations: 76.05 kB / 0.648 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/0.6793, allocations: 123.9 kB / 0.6482 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.0008599/0.6802, allocations: 401.1 kB / 0.6485 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/0.6805, allocations: 151 kB / 0.6487 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.6931, allocations: 3.318 MB / 0.6519 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.6931, allocations: 20 kB / 0.6519 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6931, allocations: 0 / 0.6519 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/0.6931, allocations: 11.97 kB / 0.652 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.7087, allocations: 4.749 MB / 0.6566 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.7087, allocations: 3.984 kB / 0.6566 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.7105, allocations: 355.6 kB / 0.6569 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/0.7143, allocations: 0.8022 MB / 0.6577 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002921/0.7146, allocations: 67.95 kB / 0.6578 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005406/0.72, allocations: 3.508 MB / 0.6612 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.72, allocations: 7.922 kB / 0.6612 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.7338, allocations: 4.23 MB / 0.6654 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.7342, allocations: 127 kB / 0.6655 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.7345, allocations: 36 kB / 0.6655 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009136/0.7354, allocations: 43.98 kB / 0.6655 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/0.7359, allocations: 205.6 kB / 0.6657 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.736, allocations: 79.95 kB / 0.6658 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007418/0.7368, allocations: 0.5292 MB / 0.6663 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.7368, allocations: 0 / 0.6663 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003261/0.74, allocations: 1.192 MB / 0.6675 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.002636/0.7427, allocations: 1.365 MB / 0.6688 GB, free: 14.82 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.004864/0.7475, allocations: 2.335 MB / 0.6711 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7475, allocations: 0 / 0.6711 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002601/0.7501, allocations: 1.313 MB / 0.6724 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.7516, allocations: 313.6 kB / 0.6727 GB, free: 10.82 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.7582, allocations: 3.4 MB / 0.676 GB, free: 7.375 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.759, allocations: 0.7556 MB / 0.6768 GB, free: 6.586 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001468/0.7605, allocations: 407.6 kB / 0.6771 GB, free: 6.184 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/0.7611, allocations: 267.1 kB / 0.6774 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of SimCode: time 6.12e-07/0.7611, allocations: 0 / 0.6774 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of Templates: time 0.07636/0.8375, allocations: 49.74 MB / 0.726 GB, free: 4.438 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 os._exit(0), Time elapsed: 7.176006815861911] Failed to read output from testmodel.py, exit status != 0: 0.8464154857210815 1.053867819 0.508374008 Calling exit ...