Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001866/0.001866, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002077/0.002077, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.1482/0.1482, allocations: 17.36 MB / 276.9 MB, free: 11.7 MB / 266.7 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.243e-05, allocations: 8.641 kB / 352.7 MB, free: 10.34 MB / 282.7 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.ElectrochemicalCell): time 0.04447/0.04451, allocations: 31.53 MB / 384.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1731/0.2176, allocations: 28.79 MB / 413 MB, free: 31.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.2192, allocations: 35.47 kB / 413 MB, free: 31.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.2208, allocations: 0.6039 MB / 413.6 MB, free: 31.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005769/0.2266, allocations: 2.237 MB / 415.9 MB, free: 31.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009576/0.2361, allocations: 4.046 MB / 419.9 MB, free: 30.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003927/0.2401, allocations: 2.95 MB / 422.9 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.2421, allocations: 1.402 MB / 424.3 MB, free: 29.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.2447, allocations: 1.907 MB / 426.2 MB, free: 29.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.2467, allocations: 1.233 MB / 427.4 MB, free: 29.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.247, allocations: 260.5 kB / 427.7 MB, free: 29.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00793/0.255, allocations: 2.979 MB / 430.7 MB, free: 29.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007241/0.2557, allocations: 0.6295 MB / 431.3 MB, free: 28.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.2572, allocations: 0.941 MB / 432.2 MB, free: 28.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.2706, allocations: 6.567 MB / 438.8 MB, free: 24.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2706, allocations: 0 / 438.8 MB, free: 24.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2706, allocations: 0 / 438.8 MB, free: 24.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.148e-05/0.2706, allocations: 0 / 438.8 MB, free: 24.93 MB / 330.7 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.005429/0.2761, allocations: 3.339 MB / 442.1 MB, free: 22.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2761, allocations: 9.875 kB / 442.1 MB, free: 22.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.2787, allocations: 0.961 MB / 443.1 MB, free: 22.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.2806, allocations: 1.269 MB / 444.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.2808, allocations: 278.7 kB / 444.6 MB, free: 20.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.2811, allocations: 227 kB / 444.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/0.2844, allocations: 2.615 MB / 447.5 MB, free: 17.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.2844, allocations: 7.188 kB / 447.5 MB, free: 17.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.2846, allocations: 91.94 kB / 447.6 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.2846, allocations: 56 kB / 447.6 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/0.2884, allocations: 2.971 MB / 450.6 MB, free: 14.72 MB / 330.7 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.01088/0.2993, allocations: 8.103 MB / 458.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.3012, allocations: 1.46 MB / 460.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009914/0.3022, allocations: 0.7861 MB / 461 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008491/0.3107, allocations: 4.591 MB / 465.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.3108, allocations: 46.7 kB / 465.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.125e-06/0.3108, allocations: 0 / 465.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.03081/0.3416, allocations: 7.884 MB / 473.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/0.3417, allocations: 101.7 kB / 473.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.3439, allocations: 1.431 MB / 475 MB, free: 6.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.344, allocations: 60.7 kB / 475.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.3451, allocations: 1.19 MB / 476.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007717/0.3459, allocations: 0.6913 MB / 476.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.3471, allocations: 0.5385 MB / 477.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003107/0.3474, allocations: 484.7 kB / 478 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.3494, allocations: 0.7132 MB / 478.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003703/0.3531, allocations: 1.962 MB / 480.6 MB, free: 356 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006402/0.3595, allocations: 2.946 MB / 483.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/0.3596, allocations: 8 kB / 483.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01014/0.3697, allocations: 2.972 MB / 486.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.3698, allocations: 20 kB / 486.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.349e-05/0.3698, allocations: 24 kB / 486.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005907/0.3757, allocations: 0.6573 MB / 487.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005451/0.3812, allocations: 0.7948 MB / 488.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/0.3968, allocations: 10.4 MB / 498.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.3992, allocations: 98.59 kB / 498.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/0.3996, allocations: 139.1 kB / 498.7 MB, free: 13.69 MB / 378.7 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.001231/0.4008, allocations: 490.7 kB / 499.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006883/0.4015, allocations: 222.9 kB / 499.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009527/0.411, allocations: 2.535 MB / 0.4902 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.411, allocations: 20 kB / 0.4902 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.411, allocations: 6.594 kB / 0.4902 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.4111, allocations: 14.69 kB / 0.4902 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.4239, allocations: 4.778 MB / 0.4949 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.4239, allocations: 12 kB / 0.4949 GB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.4256, allocations: 419.3 kB / 0.4953 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00466/0.4302, allocations: 0.6974 MB / 0.496 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.4304, allocations: 79.97 kB / 0.496 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.4419, allocations: 10.1 MB / 0.5059 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/0.4419, allocations: 15.94 kB / 0.5059 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007958/0.4499, allocations: 3.709 MB / 0.5095 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.4503, allocations: 170.8 kB / 0.5097 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.4506, allocations: 55.98 kB / 0.5097 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/0.4515, allocations: 50.69 kB / 0.5098 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/0.4519, allocations: 196.7 kB / 0.51 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/0.4521, allocations: 95.97 kB / 0.5101 GB, free: 5.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001136/0.4532, allocations: 0.7921 MB / 0.5108 GB, free: 4.445 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4532, allocations: 0 / 0.5108 GB, free: 4.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003849/0.4571, allocations: 1.208 MB / 0.512 GB, free: 3.234 MB / 394.7 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.002949/0.46, allocations: 1.388 MB / 0.5134 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005335/0.4654, allocations: 2.53 MB / 0.5159 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.4654, allocations: 2.656 kB / 0.5159 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.468, allocations: 1.662 MB / 0.5175 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.47, allocations: 385.6 kB / 0.5178 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/0.4772, allocations: 4.111 MB / 0.5219 GB, free: 9.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.4783, allocations: 0.8485 MB / 0.5227 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001522/0.4798, allocations: 452.5 kB / 0.5231 GB, free: 7.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.4805, allocations: 291.8 kB / 0.5234 GB, free: 7.707 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4805, allocations: 0 / 0.5234 GB, free: 7.707 MB / 410.7 MB Notification: Performance of Templates: time 0.1985/0.679, allocations: 41.73 MB / 0.5641 GB, free: 154.7 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.996985614998266]