Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.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.00173/0.00173, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002048/0.002048, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.492/1.492, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1361/0.1361, allocations: 23.9 MB / 333.4 MB, free: 1.156 MB / 254.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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") [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.003206/0.003206, allocations: 64.69 kB / 467.2 MB, free: 30.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1261, allocations: 59.84 MB / 0.5147 GB, free: 12.49 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.ElectrochemicalCell): time 0.04684/0.1729, allocations: 31.1 MB / 0.5451 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03599/0.2089, allocations: 28.83 MB / 0.5732 GB, free: 484 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.2103, allocations: 31.75 kB / 0.5733 GB, free: 452 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.2119, allocations: 0.6593 MB / 0.5739 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005598/0.2175, allocations: 2.2 MB / 0.5761 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009705/0.2272, allocations: 3.887 MB / 0.5799 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.231, allocations: 2.844 MB / 0.5826 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.2326, allocations: 1.376 MB / 0.584 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.2341, allocations: 1.348 MB / 0.5853 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.236, allocations: 1.51 MB / 0.5868 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.2364, allocations: 263.9 kB / 0.587 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2234/0.4598, allocations: 3.141 MB / 0.5901 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008489/0.4606, allocations: 0.6049 MB / 0.5907 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.4622, allocations: 1.302 MB / 0.5919 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.474, allocations: 6.199 MB / 0.598 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.474, allocations: 0 / 0.598 GB, free: 25.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.474, allocations: 1.062 kB / 0.598 GB, free: 25.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.726e-05/0.4741, allocations: 0 / 0.598 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006037/0.4801, allocations: 3.172 MB / 0.6011 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4801, allocations: 10.72 kB / 0.6011 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.4825, allocations: 0.5532 MB / 0.6017 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.4845, allocations: 1.315 MB / 0.6029 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.4847, allocations: 225.8 kB / 0.6032 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/0.4851, allocations: 228.8 kB / 0.6034 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.4893, allocations: 2.675 MB / 0.606 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.4893, allocations: 1.125 kB / 0.606 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/0.4896, allocations: 85.06 kB / 0.6061 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.4896, allocations: 53.34 kB / 0.6061 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.4946, allocations: 3.308 MB / 0.6093 GB, free: 22.99 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.0112/0.5058, allocations: 8.692 MB / 0.6178 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.5081, allocations: 1.908 MB / 0.6197 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.5092, allocations: 0.8539 MB / 0.6205 GB, free: 17.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009132/0.5184, allocations: 7.889 MB / 0.6282 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5184, allocations: 56.31 kB / 0.6283 GB, free: 10.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=128): time 2.735e-06/0.5184, allocations: 0 / 0.6283 GB, free: 10.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=181): time 0.02828/0.5467, allocations: 8.26 MB / 0.6364 GB, free: 6.496 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.5467, allocations: 100.2 kB / 0.6365 GB, free: 6.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.548, allocations: 1.359 MB / 0.6378 GB, free: 5.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.5481, allocations: 57.7 kB / 0.6378 GB, free: 5.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.5485, allocations: 1.076 MB / 0.6389 GB, free: 4.086 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.5488, allocations: 0.6574 MB / 0.6395 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005649/0.5494, allocations: 491.7 kB / 0.64 GB, free: 2.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.043e-05/0.5494, allocations: 301.1 kB / 0.6403 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.5506, allocations: 0.8054 MB / 0.6411 GB, free: 1.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.5521, allocations: 1.659 MB / 0.6427 GB, free: 15.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.5561, allocations: 2.608 MB / 0.6452 GB, free: 13.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.5561, allocations: 8.875 kB / 0.6452 GB, free: 13.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007054/0.5631, allocations: 3.037 MB / 0.6482 GB, free: 10.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.5632, allocations: 18.66 kB / 0.6482 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/0.5632, allocations: 31.94 kB / 0.6483 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/0.5665, allocations: 0.5249 MB / 0.6488 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/0.5703, allocations: 0.7961 MB / 0.6495 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.5804, allocations: 8.044 MB / 0.6574 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.5819, allocations: 98.56 kB / 0.6575 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.5822, allocations: 150.6 kB / 0.6576 GB, free: 36 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * 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): 3 systems {(1,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008667/0.583, allocations: 459.3 kB / 0.6581 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.5834, allocations: 177.6 kB / 0.6582 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007144/0.5905, allocations: 2.558 MB / 0.6607 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.5906, allocations: 20 kB / 0.6608 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5906, allocations: 0 / 0.6608 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.5906, allocations: 15.95 kB / 0.6608 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.6008, allocations: 4.769 MB / 0.6654 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.6008, allocations: 12 kB / 0.6654 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.6025, allocations: 417.5 kB / 0.6658 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/0.6059, allocations: 0.5441 MB / 0.6664 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.606, allocations: 82.69 kB / 0.6665 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009099/0.6151, allocations: 7.836 MB / 0.6741 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/0.6152, allocations: 22.59 kB / 0.6741 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/0.6224, allocations: 3.463 MB / 0.6775 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.6228, allocations: 262.5 kB / 0.6778 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.6231, allocations: 58.67 kB / 0.6778 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009931/0.624, allocations: 48 kB / 0.6779 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/0.6244, allocations: 192.7 kB / 0.678 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.6245, allocations: 91.97 kB / 0.6781 GB, free: 10.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.6257, allocations: 0.8928 MB / 0.679 GB, free: 9.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6257, allocations: 2.656 kB / 0.679 GB, free: 9.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003924/0.6296, allocations: 1.204 MB / 0.6802 GB, free: 8.332 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 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): 5 systems {(1,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002411/0.632, allocations: 1.343 MB / 0.6815 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004781/0.6368, allocations: 2.36 MB / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6368, allocations: 0 / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.639, allocations: 1.375 MB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.6408, allocations: 342.2 kB / 0.6855 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/0.6472, allocations: 4.092 MB / 0.6895 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.6484, allocations: 1.432 MB / 0.6909 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008887/0.6492, allocations: 363.8 kB / 0.6912 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.6492, allocations: 4 kB / 0.6912 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.09135/0.7406, allocations: 82.79 MB / 0.7721 GB, free: 11.02 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.403737529995851] Failed to read output from testmodel.py, exit status != 0: 0.7501842320198193 0.762081655 0.28512199199999994 Calling exit ...