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.001358/0.001358, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001432/0.001432, allocations: 167.5 kB / 22.46 MB, free: 5.359 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.1293/0.1293, allocations: 17.45 MB / 276.6 MB, free: 15.22 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 412.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.503e-05, allocations: 2.281 kB / 412.1 MB, free: 4.293 MB / 334.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.03859/0.03861, allocations: 30.21 MB / 442.3 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1962/0.2348, allocations: 25.29 MB / 467.6 MB, free: 24.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.2364, allocations: 32.38 kB / 467.6 MB, free: 24.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.2382, allocations: 0.5989 MB / 468.2 MB, free: 24.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006576/0.2447, allocations: 2.242 MB / 470.5 MB, free: 23.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.2559, allocations: 4.044 MB / 474.5 MB, free: 20.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004212/0.2601, allocations: 2.961 MB / 477.5 MB, free: 19.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.2619, allocations: 1.339 MB / 478.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.264, allocations: 1.905 MB / 480.7 MB, free: 17.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.2655, allocations: 1.183 MB / 481.9 MB, free: 16.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.2659, allocations: 261.1 kB / 482.2 MB, free: 16.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007726/0.2736, allocations: 2.979 MB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005207/0.2741, allocations: 0.6197 MB / 485.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.2754, allocations: 0.9355 MB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.2876, allocations: 6.538 MB / 493.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2876, allocations: 2.688 kB / 493.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2876, allocations: 3.984 kB / 493.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001213/0.2877, allocations: 4 kB / 493.2 MB, free: 7.551 MB / 366.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.005441/0.2932, allocations: 3.067 MB / 496.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2932, allocations: 8.031 kB / 496.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.2954, allocations: 0.553 MB / 496.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.2974, allocations: 1.246 MB / 498.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2975, allocations: 271.7 kB / 498.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.2978, allocations: 224.3 kB / 498.6 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003865/0.3017, allocations: 2.679 MB / 0.4895 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.3017, allocations: 10.59 kB / 0.4895 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.302, allocations: 84 kB / 0.4896 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/0.302, allocations: 56 kB / 0.4897 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005673/0.3077, allocations: 3.29 MB / 0.4929 GB, free: 11.91 MB / 382.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.01423/0.3219, allocations: 7.003 MB / 0.4997 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.3248, allocations: 1.534 MB / 0.5012 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.3263, allocations: 0.8431 MB / 0.502 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.3369, allocations: 4.269 MB / 0.5062 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.337, allocations: 47.88 kB / 0.5063 GB, free: 14.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.897e-06/0.337, allocations: 2.344 kB / 0.5063 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=181): time 0.03257/0.3695, allocations: 8.099 MB / 0.5142 GB, free: 6.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.3696, allocations: 95.11 kB / 0.5143 GB, free: 5.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.3714, allocations: 1.321 MB / 0.5156 GB, free: 4.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.3716, allocations: 53.7 kB / 0.5156 GB, free: 4.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008977/0.3725, allocations: 1.077 MB / 0.5167 GB, free: 3.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/0.3732, allocations: 0.6534 MB / 0.5173 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007791/0.374, allocations: 477 kB / 0.5178 GB, free: 2.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3741, allocations: 305.1 kB / 0.518 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.3756, allocations: 0.8171 MB / 0.5188 GB, free: 1.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.378, allocations: 1.665 MB / 0.5205 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004078/0.3821, allocations: 2.614 MB / 0.523 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.3821, allocations: 9.375 kB / 0.523 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007378/0.3895, allocations: 3.042 MB / 0.526 GB, free: 9.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.3896, allocations: 18.62 kB / 0.526 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.3896, allocations: 28 kB / 0.526 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/0.3929, allocations: 0.5184 MB / 0.5265 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/0.397, allocations: 0.7997 MB / 0.5273 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.4071, allocations: 7.514 MB / 0.5347 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.4089, allocations: 94.59 kB / 0.5348 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/0.4092, allocations: 144 kB / 0.5349 GB, free: 15.6 MB / 430.1 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.001/0.4102, allocations: 459.6 kB / 0.5353 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.4106, allocations: 166.9 kB / 0.5355 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007085/0.4177, allocations: 2.56 MB / 0.538 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.4177, allocations: 20 kB / 0.538 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4177, allocations: 0 / 0.538 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/0.4177, allocations: 14.61 kB / 0.538 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.428, allocations: 4.263 MB / 0.5422 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/0.428, allocations: 14.69 kB / 0.5422 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.4298, allocations: 415.4 kB / 0.5426 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/0.4333, allocations: 0.5419 MB / 0.5431 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.4335, allocations: 83.95 kB / 0.5432 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009165/0.4427, allocations: 7.284 MB / 0.5503 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-05/0.4427, allocations: 22.62 kB / 0.5503 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007736/0.4504, allocations: 3.437 MB / 0.5537 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.4509, allocations: 165.5 kB / 0.5539 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.4511, allocations: 56 kB / 0.5539 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.4521, allocations: 47.98 kB / 0.554 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.4525, allocations: 204.6 kB / 0.5542 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.4527, allocations: 95.91 kB / 0.5542 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.4539, allocations: 0.8274 MB / 0.5551 GB, free: 10.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4539, allocations: 0 / 0.5551 GB, free: 10.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003796/0.4577, allocations: 1.218 MB / 0.5562 GB, free: 8.977 MB / 446.1 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.002859/0.4605, allocations: 1.381 MB / 0.5576 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005207/0.4657, allocations: 2.37 MB / 0.5599 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.4657, allocations: 0 / 0.5599 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.468, allocations: 1.364 MB / 0.5612 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.47, allocations: 337.3 kB / 0.5616 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006967/0.477, allocations: 3.898 MB / 0.5654 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.4781, allocations: 0.8562 MB / 0.5662 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001678/0.4797, allocations: 462.5 kB / 0.5666 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007109/0.4805, allocations: 285.7 kB / 0.5669 GB, free: 14.09 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4805, allocations: 3.938 kB / 0.5669 GB, free: 14.09 MB / 462.1 MB Notification: Performance of Templates: time 0.06969/0.5502, allocations: 41.2 MB / 0.6072 GB, free: 5.266 MB / 494.1 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.595414809882641] Failed to read output from testmodel.py, exit status != 0: 0.5604772455990314 0.586006048 0.293514649 Calling exit ...