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.00177/0.00177, allocations: 88.72 kB / 19.44 MB, free: 352 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.002364/0.002364, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.188 MB / 186.7 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.1432/0.1432, allocations: 17.45 MB / 277 MB, free: 11.45 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.036e-05, allocations: 2.312 kB / 352.8 MB, free: 10.18 MB / 282.7 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.06239/0.06242, allocations: 30.38 MB / 383.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0402/0.1026, allocations: 25.31 MB / 408.5 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.104, allocations: 31.75 kB / 408.5 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.1059, allocations: 0.6007 MB / 409.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.142/0.2479, allocations: 2.231 MB / 411.4 MB, free: 33.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009856/0.2578, allocations: 4.05 MB / 415.4 MB, free: 32.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.2618, allocations: 2.949 MB / 418.4 MB, free: 32.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2636, allocations: 1.398 MB / 419.8 MB, free: 32.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.2657, allocations: 1.897 MB / 421.7 MB, free: 31.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.2674, allocations: 1.184 MB / 422.8 MB, free: 31.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.2679, allocations: 260.1 kB / 423.1 MB, free: 31.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008666/0.2766, allocations: 2.984 MB / 426.1 MB, free: 31.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008065/0.2774, allocations: 0.6129 MB / 426.7 MB, free: 31.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.279, allocations: 0.9447 MB / 427.6 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.2919, allocations: 6.543 MB / 434.2 MB, free: 28.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2919, allocations: 0 / 434.2 MB, free: 28.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2919, allocations: 0 / 434.2 MB, free: 28.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.315e-05/0.292, allocations: 0 / 434.2 MB, free: 28.58 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.00557/0.2976, allocations: 3.07 MB / 437.3 MB, free: 26.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2976, allocations: 9.812 kB / 437.3 MB, free: 26.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/0.3003, allocations: 0.9497 MB / 438.2 MB, free: 26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.3025, allocations: 1.273 MB / 439.5 MB, free: 25.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.3027, allocations: 276.9 kB / 439.8 MB, free: 24.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000325/0.303, allocations: 228.1 kB / 440 MB, free: 24.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.3067, allocations: 2.678 MB / 442.7 MB, free: 21.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.3067, allocations: 3.281 kB / 442.7 MB, free: 21.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.307, allocations: 91.94 kB / 442.7 MB, free: 21.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.307, allocations: 52 kB / 442.8 MB, free: 21.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/0.3111, allocations: 3.294 MB / 446.1 MB, free: 18.55 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.01124/0.3223, allocations: 7.08 MB / 453.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3244, allocations: 1.521 MB / 454.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.3255, allocations: 0.8457 MB / 455.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008414/0.3339, allocations: 4.418 MB / 460 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3339, allocations: 47.88 kB / 460 MB, free: 4.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.226e-06/0.3339, allocations: 2.688 kB / 460 MB, free: 4.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.03062/0.3645, allocations: 8.133 MB / 468.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/0.3646, allocations: 102.2 kB / 468.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.3667, allocations: 1.316 MB / 469.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.3669, allocations: 57.7 kB / 469.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009792/0.3679, allocations: 1.078 MB / 470.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007281/0.3686, allocations: 0.6467 MB / 471.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008105/0.3694, allocations: 485 kB / 471.8 MB, free: 9.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3696, allocations: 305.1 kB / 472.1 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.3712, allocations: 0.8171 MB / 472.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.3738, allocations: 1.663 MB / 474.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.3785, allocations: 2.609 MB / 477.2 MB, free: 3.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.3785, allocations: 8 kB / 477.2 MB, free: 3.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.008068/0.3866, allocations: 3.161 MB / 480.4 MB, free: 100 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.3866, allocations: 16 kB / 480.4 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/0.3867, allocations: 28 kB / 480.4 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004832/0.3915, allocations: 0.6525 MB / 481.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/0.3954, allocations: 0.7968 MB / 481.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.4062, allocations: 7.537 MB / 489.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.4082, allocations: 94.38 kB / 489.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.4084, allocations: 136 kB / 489.6 MB, free: 6.527 MB / 362.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.001219/0.4097, allocations: 450.6 kB / 490.1 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005315/0.4102, allocations: 233.8 kB / 490.3 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007308/0.4175, allocations: 2.566 MB / 492.9 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.4175, allocations: 20 kB / 492.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4175, allocations: 0 / 492.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.4175, allocations: 10.59 kB / 492.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.4288, allocations: 4.261 MB / 497.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.4288, allocations: 12 kB / 497.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.4305, allocations: 421.7 kB / 497.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004947/0.4355, allocations: 0.6831 MB / 498.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/0.4358, allocations: 75.97 kB / 498.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009988/0.4457, allocations: 7.307 MB / 0.4938 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-05/0.4458, allocations: 21.52 kB / 0.4938 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008197/0.454, allocations: 3.496 MB / 0.4972 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.4545, allocations: 170.8 kB / 0.4974 GB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.4547, allocations: 59.08 kB / 0.4974 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.4557, allocations: 44 kB / 0.4975 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.4561, allocations: 193.4 kB / 0.4977 GB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.4563, allocations: 102.5 kB / 0.4978 GB, free: 1.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.4575, allocations: 0.8313 MB / 0.4986 GB, free: 1.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4575, allocations: 0 / 0.4986 GB, free: 1.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004261/0.4618, allocations: 1.212 MB / 0.4998 GB, free: 15.92 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.003034/0.4648, allocations: 1.385 MB / 0.5011 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005522/0.4703, allocations: 2.367 MB / 0.5034 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/0.4704, allocations: 4 kB / 0.5034 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.4728, allocations: 1.368 MB / 0.5048 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.475, allocations: 378.6 kB / 0.5051 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/0.4827, allocations: 3.957 MB / 0.509 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.4838, allocations: 0.8602 MB / 0.5098 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001695/0.4855, allocations: 453.9 kB / 0.5103 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.4862, allocations: 288.4 kB / 0.5105 GB, free: 5.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4862, allocations: 0 / 0.5105 GB, free: 5.32 MB / 394.7 MB Notification: Performance of Templates: time 0.07592/0.5622, allocations: 41.42 MB / 0.551 GB, free: 12.57 MB / 442.7 MB " [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: 6.785004480974749]