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.001855/0.001855, 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.002411/0.002411, allocations: 169.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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.113 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.1444/0.1444, allocations: 17.46 MB / 277 MB, free: 11.34 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.934e-06/1.934e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.844e-05, allocations: 6.25 kB / 352.8 MB, free: 10.2 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.04627/0.0463, allocations: 31.54 MB / 384.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1818/0.2281, allocations: 28.78 MB / 413.1 MB, free: 31.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.2294, allocations: 35.47 kB / 413.2 MB, free: 31.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.2309, allocations: 0.6026 MB / 413.8 MB, free: 31.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.2362, allocations: 2.239 MB / 416 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.2467, allocations: 4.056 MB / 420.1 MB, free: 30.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.2509, allocations: 2.94 MB / 423 MB, free: 30 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.2527, allocations: 1.405 MB / 424.4 MB, free: 29.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.2553, allocations: 1.907 MB / 426.3 MB, free: 29.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.2572, allocations: 1.239 MB / 427.5 MB, free: 29.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004366/0.2576, allocations: 262.9 kB / 427.8 MB, free: 29.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009893/0.2675, allocations: 2.982 MB / 430.8 MB, free: 29.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.2686, allocations: 0.6182 MB / 431.4 MB, free: 28.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.2707, allocations: 0.9433 MB / 432.3 MB, free: 28.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.2851, allocations: 6.567 MB / 438.9 MB, free: 24.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2851, allocations: 0 / 438.9 MB, free: 24.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2851, allocations: 0 / 438.9 MB, free: 24.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.449e-05/0.2852, allocations: 0 / 438.9 MB, free: 24.87 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.005329/0.2905, allocations: 3.345 MB / 442.3 MB, free: 22.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2905, allocations: 10.75 kB / 442.3 MB, free: 22.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.2928, allocations: 0.9485 MB / 443.2 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.2947, allocations: 1.273 MB / 444.5 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.2949, allocations: 275.7 kB / 444.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.2952, allocations: 224.3 kB / 445 MB, free: 20.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.2983, allocations: 2.612 MB / 447.6 MB, free: 17.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.2984, allocations: 5.844 kB / 447.6 MB, free: 17.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.2986, allocations: 95.94 kB / 447.7 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.2986, allocations: 52 kB / 447.7 MB, free: 17.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003806/0.3024, allocations: 2.97 MB / 450.7 MB, free: 14.66 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.01114/0.3135, allocations: 8.113 MB / 458.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.3155, allocations: 1.469 MB / 460.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.3165, allocations: 0.7861 MB / 461.1 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008928/0.3254, allocations: 4.572 MB / 465.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.3255, allocations: 50.7 kB / 465.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.426e-06/0.3255, allocations: 3.938 kB / 465.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.03212/0.3576, allocations: 7.89 MB / 473.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.3577, allocations: 95.11 kB / 473.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.3599, allocations: 1.439 MB / 475.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.36, allocations: 56.39 kB / 475.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.3611, allocations: 1.188 MB / 476.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008051/0.3619, allocations: 0.6891 MB / 477.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009183/0.3628, allocations: 0.5463 MB / 477.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.363, allocations: 480.7 kB / 478.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.3645, allocations: 0.7117 MB / 478.8 MB, free: 2.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.3673, allocations: 1.96 MB / 480.7 MB, free: 288 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004783/0.3721, allocations: 2.94 MB / 483.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.3721, allocations: 8 kB / 483.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007474/0.3796, allocations: 2.98 MB / 486.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.3796, allocations: 19.94 kB / 486.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.66e-05/0.3797, allocations: 28 kB / 486.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004667/0.3844, allocations: 0.6517 MB / 487.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/0.3886, allocations: 0.7977 MB / 488.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.4013, allocations: 10.4 MB / 498.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.4034, allocations: 91.94 kB / 498.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.4036, allocations: 140 kB / 498.8 MB, free: 13.62 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.0009672/0.4046, allocations: 496.1 kB / 499.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.4051, allocations: 218.9 kB / 499.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007412/0.4125, allocations: 2.534 MB / 0.4903 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/0.4125, allocations: 22.62 kB / 0.4903 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.4125, allocations: 2.656 kB / 0.4903 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/0.4126, allocations: 7.969 kB / 0.4903 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.424, allocations: 4.78 MB / 0.495 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.4241, allocations: 17.38 kB / 0.495 GB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.4258, allocations: 415.4 kB / 0.4954 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004759/0.4306, allocations: 0.7037 MB / 0.4961 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.4308, allocations: 75.97 kB / 0.4961 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.442, allocations: 10.1 MB / 0.506 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/0.442, allocations: 15.94 kB / 0.506 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008166/0.4502, allocations: 3.721 MB / 0.5096 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.4507, allocations: 162.8 kB / 0.5098 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.451, allocations: 55.98 kB / 0.5099 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.4519, allocations: 48 kB / 0.5099 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/0.4523, allocations: 206 kB / 0.5101 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/0.4525, allocations: 91.97 kB / 0.5102 GB, free: 5.164 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001193/0.4537, allocations: 0.7961 MB / 0.511 GB, free: 4.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4537, allocations: 0 / 0.511 GB, free: 4.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004216/0.4579, allocations: 1.204 MB / 0.5121 GB, free: 3.156 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.003449/0.4614, allocations: 1.383 MB / 0.5135 GB, free: 1.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005675/0.467, allocations: 2.539 MB / 0.516 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.13e-05/0.4671, allocations: 4 kB / 0.516 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002709/0.4698, allocations: 1.661 MB / 0.5176 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.4719, allocations: 381.6 kB / 0.518 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/0.48, allocations: 4.104 MB / 0.522 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.4811, allocations: 0.8563 MB / 0.5228 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00172/0.4829, allocations: 447 kB / 0.5232 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/0.4836, allocations: 291.9 kB / 0.5235 GB, free: 7.629 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4836, allocations: 0 / 0.5235 GB, free: 7.629 MB / 410.7 MB Notification: Performance of Templates: time 0.2247/0.7083, allocations: 41.73 MB / 0.5643 GB, free: 154.6 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.193053480004892]