Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.H2O_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.001869/0.001869, allocations: 85.48 kB / 19.44 MB, free: 344 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.002335/0.002335, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.603/1.603, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.1599/0.1599, allocations: 17.36 MB / 276.9 MB, free: 11.68 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.517e-05, allocations: 6.25 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.H2O_ElectrochemicalCell): time 0.04476/0.04479, allocations: 29.6 MB / 382.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02875/0.07354, allocations: 19.44 MB / 401.7 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.07502, allocations: 23.81 kB / 401.8 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.07646, allocations: 464.2 kB / 402.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.08036, allocations: 1.245 MB / 403.5 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008656/0.08901, allocations: 2.981 MB / 406.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00361/0.09262, allocations: 2.167 MB / 408.6 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.09438, allocations: 1.112 MB / 409.7 MB, free: 1.277 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1591/0.2535, allocations: 1.352 MB / 411.1 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.2558, allocations: 0.8742 MB / 411.9 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005942/0.2564, allocations: 201.1 kB / 412.1 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006748/0.2631, allocations: 1.972 MB / 414.1 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008042/0.2639, allocations: 486.6 kB / 414.6 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.2655, allocations: 0.7104 MB / 415.3 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.2769, allocations: 4.581 MB / 419.9 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.277, allocations: 1.688 kB / 419.9 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.277, allocations: 0 / 419.9 MB, free: 35.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.852e-05/0.277, allocations: 1.281 kB / 419.9 MB, free: 35.79 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005158/0.2822, allocations: 2.548 MB / 422.4 MB, free: 34.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2822, allocations: 9.969 kB / 422.4 MB, free: 34.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.2843, allocations: 0.7709 MB / 423.2 MB, free: 34.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.286, allocations: 1.038 MB / 424.2 MB, free: 34.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.2861, allocations: 235.1 kB / 424.5 MB, free: 33.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.2863, allocations: 169.8 kB / 424.6 MB, free: 33.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.2891, allocations: 2.025 MB / 426.7 MB, free: 33.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.2892, allocations: 3.375 kB / 426.7 MB, free: 33.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.2893, allocations: 72.19 kB / 426.7 MB, free: 33.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.2894, allocations: 44.7 kB / 426.8 MB, free: 33.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.2924, allocations: 2.144 MB / 428.9 MB, free: 33.35 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.009958/0.3024, allocations: 6.968 MB / 435.9 MB, free: 28.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.3042, allocations: 0.9509 MB / 436.8 MB, free: 28.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.305, allocations: 490 kB / 437.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006671/0.3117, allocations: 3.216 MB / 440.5 MB, free: 26.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3117, allocations: 42.05 kB / 440.6 MB, free: 26.15 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005616/0.3123, allocations: 107.1 kB / 440.7 MB, free: 26.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 4.278e-06/0.3123, allocations: 3.469 kB / 440.7 MB, free: 26.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.01735/0.3296, allocations: 4.586 MB / 445.3 MB, free: 21.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3297, allocations: 111.8 kB / 445.4 MB, free: 21.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.331, allocations: 1.378 MB / 446.8 MB, free: 19.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3311, allocations: 44.39 kB / 446.8 MB, free: 19.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.3315, allocations: 1.032 MB / 447.8 MB, free: 18.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.3317, allocations: 379.4 kB / 448.2 MB, free: 18.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004491/0.3322, allocations: 412.9 kB / 448.6 MB, free: 18.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3323, allocations: 0.5589 MB / 449.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.333, allocations: 463.8 kB / 449.6 MB, free: 17.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.3341, allocations: 1.514 MB / 451.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.3359, allocations: 2.111 MB / 453.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.3359, allocations: 4 kB / 453.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004816/0.3407, allocations: 2.147 MB / 455.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.3408, allocations: 16 kB / 455.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/0.3408, allocations: 24 kB / 455.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/0.3444, allocations: 0.5148 MB / 456 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.3471, allocations: 0.5656 MB / 456.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/0.3547, allocations: 10.27 MB / 466.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.3564, allocations: 89.17 kB / 466.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.3566, allocations: 111.8 kB / 467 MB, free: 14.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * 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,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008501/0.3575, allocations: 403.4 kB / 467.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007232/0.3582, allocations: 155.2 kB / 467.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/0.3633, allocations: 1.516 MB / 469 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.3633, allocations: 14.66 kB / 469.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3633, allocations: 0 / 469.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.3634, allocations: 11.97 kB / 469.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008217/0.3716, allocations: 3.06 MB / 472.1 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.3716, allocations: 11.98 kB / 472.1 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/0.3725, allocations: 210.1 kB / 472.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004218/0.3767, allocations: 0.5541 MB / 472.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.3769, allocations: 39.98 kB / 472.9 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.3891, allocations: 9.991 MB / 482.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-05/0.3891, allocations: 18.02 kB / 482.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/0.395, allocations: 2.397 MB / 485.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005128/0.3955, allocations: 123.1 kB / 485.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.3957, allocations: 31.98 kB / 485.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.3964, allocations: 24 kB / 485.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.3967, allocations: 117.8 kB / 485.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.3968, allocations: 51.98 kB / 485.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001243/0.3981, allocations: 0.7798 MB / 486.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3981, allocations: 7.938 kB / 486.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003951/0.402, allocations: 0.8221 MB / 487.3 MB, free: 9.688 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (101): * Single equations (assignments): 95 * 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,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002519/0.4045, allocations: 0.9237 MB / 488.2 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004173/0.4087, allocations: 1.762 MB / 490 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.338e-05/0.4087, allocations: 3.75 kB / 490 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.4109, allocations: 1.227 MB / 491.2 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.4128, allocations: 249.5 kB / 491.5 MB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.4185, allocations: 2.879 MB / 494.3 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/0.4193, allocations: 0.6277 MB / 495 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.4205, allocations: 304.8 kB / 495.3 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.4209, allocations: 185.3 kB / 495.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of SimCode: time 1.903e-06/0.4209, allocations: 0 / 495.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of Templates: time 0.05357/0.4745, allocations: 28.21 MB / 0.5114 GB, free: 6.457 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.4156930189346895]