Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001326/0.001326, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001467/0.001467, allocations: 209.8 kB / 22.99 MB, free: 4.945 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 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.1365/0.1365, allocations: 23.99 MB / 337.2 MB, free: 10.85 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_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.002175/0.002175, allocations: 71.89 kB / 472.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.313, allocations: 59.89 MB / 0.5199 GB, free: 9.77 MB / 382.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.H2O_ElectrochemicalCell): time 0.07591/0.3889, allocations: 28.26 MB / 0.5475 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02607/0.415, allocations: 17.12 MB / 0.5643 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.4164, allocations: 27.75 kB / 0.5643 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.4181, allocations: 466.8 kB / 0.5647 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.4225, allocations: 1.209 MB / 0.5659 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008449/0.431, allocations: 2.884 MB / 0.5687 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003408/0.4344, allocations: 2.094 MB / 0.5708 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.436, allocations: 1.061 MB / 0.5718 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.4372, allocations: 0.931 MB / 0.5727 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.4386, allocations: 0.9491 MB / 0.5737 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.4389, allocations: 200 kB / 0.5738 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005393/0.4443, allocations: 1.954 MB / 0.5758 GB, free: 428 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005892/0.4449, allocations: 474.6 kB / 0.5762 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.446, allocations: 0.8208 MB / 0.577 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009007/0.455, allocations: 4.354 MB / 0.5813 GB, free: 10.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.455, allocations: 0 / 0.5813 GB, free: 10.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.455, allocations: 0 / 0.5813 GB, free: 10.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.455, allocations: 0 / 0.5813 GB, free: 10.76 MB / 430.1 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.004583/0.4596, allocations: 2.327 MB / 0.5835 GB, free: 8.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4596, allocations: 15.97 kB / 0.5835 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.4613, allocations: 450.8 kB / 0.584 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.4634, allocations: 1.015 MB / 0.585 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.4637, allocations: 234.4 kB / 0.5852 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/0.4639, allocations: 164 kB / 0.5853 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/0.4676, allocations: 2.241 MB / 0.5875 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.4677, allocations: 7.938 kB / 0.5875 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.4678, allocations: 72 kB / 0.5876 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.4679, allocations: 40 kB / 0.5876 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/0.4722, allocations: 2.699 MB / 0.5903 GB, free: 1.336 MB / 430.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.01107/0.4833, allocations: 6.12 MB / 0.5963 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.4851, allocations: 0.9794 MB / 0.5972 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.4859, allocations: 0.5096 MB / 0.5977 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007088/0.493, allocations: 2.973 MB / 0.6006 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.4931, allocations: 39.22 kB / 0.6007 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000497/0.4936, allocations: 115 kB / 0.6008 GB, free: 6.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 3.327e-06/0.4936, allocations: 0 / 0.6008 GB, free: 6.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01834/0.5119, allocations: 4.555 MB / 0.6052 GB, free: 1.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.512, allocations: 123.8 kB / 0.6053 GB, free: 1.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.5138, allocations: 1.449 MB / 0.6067 GB, free: 168 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/0.5139, allocations: 41.7 kB / 0.6068 GB, free: 120 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007272/0.5147, allocations: 0.9278 MB / 0.6077 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.515, allocations: 369 kB / 0.608 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005279/0.5155, allocations: 355.3 kB / 0.6084 GB, free: 14.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5157, allocations: 357.9 kB / 0.6087 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.5168, allocations: 0.6286 MB / 0.6093 GB, free: 13.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.5185, allocations: 1.345 MB / 0.6107 GB, free: 11.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/0.5213, allocations: 1.936 MB / 0.6125 GB, free: 9.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.5213, allocations: 4 kB / 0.6125 GB, free: 9.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005765/0.527, allocations: 2.375 MB / 0.6149 GB, free: 7.125 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5271, allocations: 16 kB / 0.6149 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/0.5271, allocations: 24.47 kB / 0.6149 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.5296, allocations: 390.7 kB / 0.6153 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.5323, allocations: 0.5656 MB / 0.6158 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009135/0.5414, allocations: 7.366 MB / 0.623 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.5428, allocations: 88 kB / 0.6231 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.543, allocations: 104 kB / 0.6232 GB, free: 14.1 MB / 478.1 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.0006767/0.5437, allocations: 373.1 kB / 0.6236 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.5439, allocations: 115.2 kB / 0.6237 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00466/0.5486, allocations: 1.53 MB / 0.6252 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5486, allocations: 11.94 kB / 0.6252 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5486, allocations: 4 kB / 0.6252 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.5486, allocations: 4.125 kB / 0.6252 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/0.5553, allocations: 2.65 MB / 0.6278 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.5553, allocations: 11.92 kB / 0.6278 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.5562, allocations: 219.7 kB / 0.628 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/0.5588, allocations: 412.5 kB / 0.6284 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.5589, allocations: 47.92 kB / 0.6284 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008429/0.5674, allocations: 7.164 MB / 0.6354 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.5674, allocations: 16 kB / 0.6354 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.5726, allocations: 2.152 MB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.5729, allocations: 127.1 kB / 0.6377 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.5731, allocations: 28 kB / 0.6377 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.5738, allocations: 31.92 kB / 0.6377 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.574, allocations: 112.3 kB / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/0.5741, allocations: 51.98 kB / 0.6379 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.5754, allocations: 0.9673 MB / 0.6388 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5754, allocations: 0 / 0.6388 GB, free: 13.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002719/0.5781, allocations: 0.826 MB / 0.6396 GB, free: 12.49 MB / 494.1 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.001742/0.5798, allocations: 0.9023 MB / 0.6405 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003547/0.5834, allocations: 1.699 MB / 0.6422 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5834, allocations: 384 / 0.6422 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.5848, allocations: 0.9605 MB / 0.6431 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.5863, allocations: 223.1 kB / 0.6433 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.5912, allocations: 2.921 MB / 0.6462 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.592, allocations: 0.6369 MB / 0.6468 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/0.5925, allocations: 219.3 kB / 0.647 GB, free: 4.688 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5925, allocations: 0 / 0.647 GB, free: 4.688 MB / 494.1 MB Notification: Performance of Templates: time 0.07301/0.6656, allocations: 61.76 MB / 0.7073 GB, free: 6.914 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.69204539898783] Failed to read output from testmodel.py, exit status != 0: 0.6753567862324417 0.690098279 0.231824456 Calling exit ...