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.001309/0.001309, allocations: 79.11 kB / 19.76 MB, free: 1.863 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.001444/0.001444, allocations: 158.4 kB / 23.01 MB, free: 4.613 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.379/1.379, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.1255/0.1255, allocations: 17.44 MB / 277.2 MB, free: 15.18 MB / 270.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.002046/0.002046, allocations: 67.89 kB / 412.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2547, allocations: 59.89 MB / 472.5 MB, free: 2.426 MB / 366.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.07302/0.3277, allocations: 29.89 MB / 0.4906 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03266/0.3604, allocations: 25.32 MB / 0.5153 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3619, allocations: 31.75 kB / 0.5153 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.3635, allocations: 0.593 MB / 0.5159 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005662/0.3692, allocations: 2.153 MB / 0.518 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009426/0.3786, allocations: 3.938 MB / 0.5219 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.3825, allocations: 2.848 MB / 0.5246 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.3843, allocations: 1.33 MB / 0.5259 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.3859, allocations: 1.348 MB / 0.5273 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.3878, allocations: 1.346 MB / 0.5286 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000397/0.3882, allocations: 260 kB / 0.5288 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007197/0.3954, allocations: 2.952 MB / 0.5317 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006873/0.3961, allocations: 0.6075 MB / 0.5323 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.3974, allocations: 1.093 MB / 0.5334 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.4093, allocations: 6.19 MB / 0.5394 GB, free: 6.473 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4093, allocations: 0 / 0.5394 GB, free: 6.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4093, allocations: 0 / 0.5394 GB, free: 6.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.639e-05/0.4093, allocations: 0 / 0.5394 GB, free: 6.473 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.005739/0.4151, allocations: 3.088 MB / 0.5424 GB, free: 3.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4151, allocations: 12.03 kB / 0.5424 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.4174, allocations: 0.5531 MB / 0.543 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.4197, allocations: 1.25 MB / 0.5442 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.4199, allocations: 275.5 kB / 0.5445 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.4203, allocations: 227.9 kB / 0.5447 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.4246, allocations: 2.679 MB / 0.5473 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.4246, allocations: 0 / 0.5473 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.4248, allocations: 96 kB / 0.5474 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.4249, allocations: 52 kB / 0.5474 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.4301, allocations: 3.295 MB / 0.5507 GB, free: 10.74 MB / 462.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.01284/0.4429, allocations: 7.004 MB / 0.5575 GB, free: 3.598 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.4455, allocations: 1.512 MB / 0.559 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4468, allocations: 0.8509 MB / 0.5598 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009536/0.4564, allocations: 4.292 MB / 0.564 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4564, allocations: 51.81 kB / 0.564 GB, free: 12.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 3.507e-06/0.4564, allocations: 0 / 0.564 GB, free: 12.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03003/0.4864, allocations: 8.089 MB / 0.5719 GB, free: 4.703 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.4865, allocations: 103.1 kB / 0.572 GB, free: 4.582 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.4881, allocations: 1.309 MB / 0.5733 GB, free: 3.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4882, allocations: 65.62 kB / 0.5734 GB, free: 3.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000855/0.4891, allocations: 1.089 MB / 0.5744 GB, free: 2.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/0.4897, allocations: 0.6546 MB / 0.5751 GB, free: 1.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/0.4904, allocations: 489 kB / 0.5756 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4905, allocations: 301.1 kB / 0.5758 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4919, allocations: 0.8172 MB / 0.5766 GB, free: 15.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.4941, allocations: 1.661 MB / 0.5783 GB, free: 13.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/0.498, allocations: 2.614 MB / 0.5808 GB, free: 10.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/0.498, allocations: 8 kB / 0.5808 GB, free: 10.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.006814/0.5048, allocations: 3.039 MB / 0.5838 GB, free: 7.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.5048, allocations: 19.94 kB / 0.5838 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/0.5049, allocations: 28 kB / 0.5838 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/0.5079, allocations: 0.5185 MB / 0.5843 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/0.5115, allocations: 0.7958 MB / 0.5851 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/0.5205, allocations: 7.516 MB / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.5222, allocations: 99.89 kB / 0.5926 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.5224, allocations: 136 kB / 0.5927 GB, free: 14.13 MB / 0.4981 GB 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.0008386/0.5233, allocations: 465 kB / 0.5931 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.5236, allocations: 166.9 kB / 0.5933 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006543/0.5301, allocations: 2.558 MB / 0.5958 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.5302, allocations: 23.94 kB / 0.5958 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5302, allocations: 4 kB / 0.5958 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.5302, allocations: 7.969 kB / 0.5958 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009685/0.5399, allocations: 4.264 MB / 0.6 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.5399, allocations: 12 kB / 0.6 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.5416, allocations: 419.9 kB / 0.6004 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.5448, allocations: 0.5431 MB / 0.6009 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.545, allocations: 83.91 kB / 0.601 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008278/0.5533, allocations: 7.296 MB / 0.6081 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/0.5533, allocations: 20.06 kB / 0.6081 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/0.5604, allocations: 3.458 MB / 0.6115 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.5608, allocations: 166.8 kB / 0.6117 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.561, allocations: 55.98 kB / 0.6117 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009197/0.5619, allocations: 48 kB / 0.6118 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/0.5622, allocations: 204.6 kB / 0.612 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.5624, allocations: 95.97 kB / 0.6121 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001078/0.5634, allocations: 0.8352 MB / 0.6129 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5634, allocations: 0 / 0.6129 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00337/0.5668, allocations: 1.208 MB / 0.6141 GB, free: 7.301 MB / 0.5137 GB 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.002274/0.5691, allocations: 1.334 MB / 0.6154 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004748/0.5738, allocations: 2.366 MB / 0.6177 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.5738, allocations: 4 kB / 0.6177 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.576, allocations: 1.364 MB / 0.619 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.5778, allocations: 332.8 kB / 0.6193 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/0.5841, allocations: 4.056 MB / 0.6233 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009694/0.5851, allocations: 0.8577 MB / 0.6241 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001506/0.5866, allocations: 453.8 kB / 0.6246 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.5872, allocations: 280.3 kB / 0.6248 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.5872, allocations: 4 kB / 0.6248 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.235/0.8223, allocations: 41.22 MB / 0.6651 GB, free: 138.1 MB / 0.5294 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.430080468067899] Failed to read output from testmodel.py, exit status != 0: 0.8300699349492788 0.837835121 0.42640874900000003 Calling exit ...