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.002085/0.002085, 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.00202/0.00202, allocations: 173.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.632/1.632, allocations: 177.1 MB / 203.1 MB, free: 5.547 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.1396/0.1396, allocations: 17.46 MB / 277 MB, free: 11.61 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.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: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.934e-05/5.172e-05, allocations: 2.312 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.H2O_ElectrochemicalCell): time 0.04472/0.04477, allocations: 29.6 MB / 382.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03017/0.07494, allocations: 19.43 MB / 401.8 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.07662, allocations: 23.81 kB / 401.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.07848, allocations: 472.2 kB / 402.3 MB, free: 8.742 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004081/0.08257, allocations: 1.241 MB / 403.6 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009039/0.0916, allocations: 2.981 MB / 406.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003881/0.09549, allocations: 2.163 MB / 408.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.09759, allocations: 1.116 MB / 409.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1611/0.2586, allocations: 1.347 MB / 411.2 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.2613, allocations: 0.8697 MB / 412.1 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.2623, allocations: 200.5 kB / 412.2 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007818/0.2701, allocations: 1.977 MB / 414.2 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.2713, allocations: 484.4 kB / 414.7 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.2736, allocations: 0.7121 MB / 415.4 MB, free: 36.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.286, allocations: 4.587 MB / 420 MB, free: 35.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.286, allocations: 1.031 kB / 420 MB, free: 35.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.286, allocations: 7.062 kB / 420 MB, free: 35.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.273e-05/0.2861, allocations: 0 / 420 MB, free: 35.76 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005305/0.2914, allocations: 2.539 MB / 422.5 MB, free: 34.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2914, allocations: 10.16 kB / 422.6 MB, free: 34.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.2936, allocations: 0.7668 MB / 423.3 MB, free: 34.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.2954, allocations: 1.04 MB / 424.4 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.2956, allocations: 233.4 kB / 424.6 MB, free: 33.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.2958, allocations: 173.3 kB / 424.8 MB, free: 33.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.2985, allocations: 2.019 MB / 426.8 MB, free: 33.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.2985, allocations: 2.656 kB / 426.8 MB, free: 33.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.2987, allocations: 73.59 kB / 426.8 MB, free: 33.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.2987, allocations: 38.88 kB / 426.9 MB, free: 33.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.3016, allocations: 2.151 MB / 429 MB, free: 33.28 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.009384/0.311, allocations: 6.959 MB / 436 MB, free: 28.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.3125, allocations: 0.9611 MB / 437 MB, free: 28.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.3133, allocations: 490.9 kB / 437.4 MB, free: 28.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006139/0.3194, allocations: 3.215 MB / 440.7 MB, free: 26.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.3194, allocations: 48.88 kB / 440.7 MB, free: 26 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004487/0.3199, allocations: 103.1 kB / 440.8 MB, free: 25.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.946e-06/0.3199, allocations: 2.656 kB / 440.8 MB, free: 25.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.01659/0.3365, allocations: 4.585 MB / 445.4 MB, free: 21.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3365, allocations: 119.8 kB / 445.5 MB, free: 21.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.3377, allocations: 1.366 MB / 446.9 MB, free: 19.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.3378, allocations: 41.7 kB / 446.9 MB, free: 19.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.3381, allocations: 1.028 MB / 447.9 MB, free: 18.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3383, allocations: 386.4 kB / 448.3 MB, free: 18.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004514/0.3388, allocations: 412.9 kB / 448.7 MB, free: 17.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3389, allocations: 0.5563 MB / 449.3 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.3396, allocations: 467.8 kB / 449.7 MB, free: 16.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.3406, allocations: 1.509 MB / 451.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.3424, allocations: 2.121 MB / 453.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.3424, allocations: 11.94 kB / 453.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004544/0.347, allocations: 2.139 MB / 455.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.347, allocations: 16 kB / 455.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.347, allocations: 24 kB / 455.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/0.3506, allocations: 0.5166 MB / 456.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.353, allocations: 0.5588 MB / 456.6 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.3606, allocations: 10.27 MB / 466.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.3621, allocations: 85.66 kB / 467 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.3623, allocations: 110 kB / 467.1 MB, free: 14.51 MB / 346.7 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.0007636/0.3631, allocations: 409.3 kB / 467.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.3634, allocations: 151.2 kB / 467.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.3681, allocations: 1.522 MB / 469.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.3681, allocations: 12 kB / 469.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3681, allocations: 0 / 469.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.3682, allocations: 7.984 kB / 469.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007842/0.376, allocations: 3.061 MB / 472.2 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.376, allocations: 8 kB / 472.2 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/0.3769, allocations: 220.9 kB / 472.5 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004024/0.3809, allocations: 0.5481 MB / 473 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/0.381, allocations: 42.64 kB / 473.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.392, allocations: 9.995 MB / 483 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/0.392, allocations: 11.66 kB / 483.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005605/0.3976, allocations: 2.404 MB / 485.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.3979, allocations: 123.1 kB / 485.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.3981, allocations: 30.66 kB / 485.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.3988, allocations: 28 kB / 485.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.399, allocations: 111.3 kB / 485.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/0.3991, allocations: 51.98 kB / 485.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.4003, allocations: 0.7915 MB / 486.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4003, allocations: 0 / 486.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003638/0.4039, allocations: 0.8221 MB / 487.4 MB, free: 9.535 MB / 362.7 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.001827/0.4057, allocations: 0.9204 MB / 488.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00353/0.4093, allocations: 1.758 MB / 490.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4093, allocations: 4 kB / 490.1 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.4109, allocations: 1.231 MB / 491.3 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.4122, allocations: 251.4 kB / 491.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.4172, allocations: 2.875 MB / 494.4 MB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.4179, allocations: 0.6277 MB / 495.1 MB, free: 1.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009401/0.4189, allocations: 315.8 kB / 495.4 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.4193, allocations: 177.9 kB / 495.6 MB, free: 1.605 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4193, allocations: 0 / 495.6 MB, free: 1.605 MB / 362.7 MB Notification: Performance of Templates: time 0.05153/0.4708, allocations: 28.22 MB / 0.5115 GB, free: 6.293 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.381988079985604]