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.001879/0.001879, allocations: 123.5 kB / 17.13 MB, free: 5.93 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.002324/0.002324, allocations: 213.8 kB / 20.1 MB, free: 2.98 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.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1373/0.1373, allocations: 23.86 MB / 333.4 MB, free: 1.195 MB / 254.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.002023/0.002023, allocations: 69.06 kB / 467.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 59.83 MB / 0.5146 GB, free: 12.46 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.04439/0.1497, allocations: 29.38 MB / 0.5433 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03776/0.1875, allocations: 28.85 MB / 0.5715 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.1892, allocations: 39.69 kB / 0.5715 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.1911, allocations: 0.5817 MB / 0.5721 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008328/0.1994, allocations: 2.592 MB / 0.5746 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.2098, allocations: 3.534 MB / 0.5781 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004617/0.2144, allocations: 2.724 MB / 0.5807 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.2166, allocations: 1.41 MB / 0.5821 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.2188, allocations: 1.45 MB / 0.5835 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.2216, allocations: 1.651 MB / 0.5852 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000626/0.2223, allocations: 248 kB / 0.5854 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.2328, allocations: 3.19 MB / 0.5885 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.2339, allocations: 0.6194 MB / 0.5891 GB, free: 16 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2573/0.4911, allocations: 1.209 MB / 0.5903 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.5058, allocations: 6.13 MB / 0.5963 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5059, allocations: 3.469 kB / 0.5963 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5059, allocations: 0 / 0.5963 GB, free: 25.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.661e-05/0.5059, allocations: 0.8438 kB / 0.5963 GB, free: 25.34 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.008407/0.5143, allocations: 3.008 MB / 0.5992 GB, free: 23.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5144, allocations: 9.859 kB / 0.5992 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.5169, allocations: 477.1 kB / 0.5997 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.5194, allocations: 1.12 MB / 0.6008 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.5196, allocations: 250.7 kB / 0.601 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004377/0.52, allocations: 192.8 kB / 0.6012 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/0.5245, allocations: 2.529 MB / 0.6037 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.5245, allocations: 1.062 kB / 0.6037 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.5247, allocations: 74.91 kB / 0.6037 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.5248, allocations: 44.97 kB / 0.6038 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005284/0.5301, allocations: 3.211 MB / 0.6069 GB, free: 23.16 MB / 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.01284/0.5429, allocations: 8.47 MB / 0.6152 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007976/0.5509, allocations: 5.294 MB / 0.6204 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.5527, allocations: 1.159 MB / 0.6215 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.5645, allocations: 10.33 MB / 0.6316 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5645, allocations: 43.81 kB / 0.6316 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001494/0.566, allocations: 313.4 kB / 0.6319 GB, free: 8.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=158): time 8.546e-06/0.566, allocations: 0 / 0.6319 GB, free: 8.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=187): time 0.02988/0.5959, allocations: 7.576 MB / 0.6393 GB, free: 3.719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.596, allocations: 78.03 kB / 0.6394 GB, free: 3.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.5972, allocations: 0.9013 MB / 0.6403 GB, free: 2.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003982/0.5976, allocations: 57.7 kB / 0.6403 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.598, allocations: 0.8192 MB / 0.6411 GB, free: 1.828 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006793/0.5986, allocations: 0.6672 MB / 0.6418 GB, free: 1.172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000766/0.5994, allocations: 418.5 kB / 0.6422 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.5994, allocations: 313 kB / 0.6425 GB, free: 460 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.601, allocations: 0.7846 MB / 0.6432 GB, free: 15.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/0.6033, allocations: 1.375 MB / 0.6446 GB, free: 14.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/0.6076, allocations: 2.363 MB / 0.6469 GB, free: 11.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.6076, allocations: 4 kB / 0.6469 GB, free: 11.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01328/0.6209, allocations: 3.388 MB / 0.6502 GB, free: 8.297 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.6209, allocations: 12 kB / 0.6502 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/0.621, allocations: 20.05 kB / 0.6502 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004054/0.625, allocations: 0.8169 MB / 0.651 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.6274, allocations: 0.5214 MB / 0.6515 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/0.6337, allocations: 3.89 MB / 0.6553 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.6358, allocations: 71.98 kB / 0.6554 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005534/0.6364, allocations: 123.9 kB / 0.6555 GB, free: 2.691 MB / 462.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.0013/0.6377, allocations: 399.9 kB / 0.6559 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006728/0.6383, allocations: 159 kB / 0.6561 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.6523, allocations: 3.322 MB / 0.6593 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.6524, allocations: 20 kB / 0.6593 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.6524, allocations: 0 / 0.6593 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.687e-05/0.6524, allocations: 18.58 kB / 0.6593 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.6697, allocations: 5.221 MB / 0.6644 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/0.6697, allocations: 5.406 kB / 0.6645 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.6716, allocations: 353.5 kB / 0.6648 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003896/0.6755, allocations: 0.7989 MB / 0.6656 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004392/0.6759, allocations: 66.56 kB / 0.6656 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.6815, allocations: 3.794 MB / 0.6693 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6815, allocations: 0 / 0.6693 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.6963, allocations: 4.242 MB / 0.6735 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.6968, allocations: 212 kB / 0.6737 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/0.6974, allocations: 36.56 kB / 0.6737 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.6988, allocations: 43.94 kB / 0.6738 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005917/0.6993, allocations: 193.7 kB / 0.6739 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/0.6996, allocations: 83.94 kB / 0.674 GB, free: 15.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009294/0.7005, allocations: 0.5703 MB / 0.6746 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7005, allocations: 0 / 0.6746 GB, free: 15.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004748/0.7053, allocations: 1.199 MB / 0.6758 GB, free: 13.89 MB / 494.1 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.004246/0.7095, allocations: 1.372 MB / 0.6771 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005806/0.7153, allocations: 2.417 MB / 0.6795 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7153, allocations: 0 / 0.6795 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.7185, allocations: 1.389 MB / 0.6808 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.7207, allocations: 308.4 kB / 0.6811 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.7285, allocations: 3.462 MB / 0.6845 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.7297, allocations: 1.319 MB / 0.6858 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/0.7309, allocations: 349.3 kB / 0.6861 GB, free: 3.629 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7309, allocations: 2.688 kB / 0.6861 GB, free: 3.629 MB / 494.1 MB Notification: Performance of Templates: time 0.07838/0.8093, allocations: 56.46 MB / 0.7412 GB, free: 11.76 MB / 0.545 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 sys.exit(0), Time elapsed: 11.388942568009952] Failed to read output from testmodel.py, exit status != 0: 0.81819743901724 0.832068039 0.323018933 Calling exit ...