Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001229/0.001229, allocations: 173 kB / 23.36 MB, free: 1.129 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.05/1.05, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09888/0.09888, allocations: 17.4 MB / 277.6 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 300.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.071e-05, allocations: 2.312 kB / 300.6 MB, free: 1.641 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.03517/0.0352, allocations: 37.51 MB / 338.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.04901, allocations: 14.58 MB / 352.7 MB, free: 304 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009239/0.04993, allocations: 27.75 kB / 352.8 MB, free: 276 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008684/0.0508, allocations: 404.7 kB / 353.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.0528, allocations: 1.202 MB / 354.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.05631, allocations: 2.167 MB / 356.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.05807, allocations: 2.163 MB / 358.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.05896, allocations: 1.136 MB / 359.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.05998, allocations: 1.408 MB / 361.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.06084, allocations: 0.908 MB / 362.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.06104, allocations: 204 kB / 362.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/0.06517, allocations: 1.521 MB / 363.9 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.06566, allocations: 494.4 kB / 364.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008784/0.06654, allocations: 0.7172 MB / 365.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.07169, allocations: 3.21 MB / 368.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.07169, allocations: 0 / 368.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0717, allocations: 0 / 368.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.07172, allocations: 0 / 368.3 MB, free: 0.6367 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.002421/0.07414, allocations: 2.213 MB / 370.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.07418, allocations: 8.031 kB / 370.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.07533, allocations: 0.6745 MB / 371.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.07619, allocations: 0.6688 MB / 371.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.07631, allocations: 234.7 kB / 372.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.07647, allocations: 172.4 kB / 372.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.07781, allocations: 1.438 MB / 373.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.07784, allocations: 4 kB / 373.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.07793, allocations: 64 kB / 373.7 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.07795, allocations: 44 kB / 373.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.0792, allocations: 1.103 MB / 374.9 MB, free: 9.84 MB / 346.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.005379/0.08458, allocations: 4.764 MB / 379.6 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/0.08532, allocations: 0.6924 MB / 380.3 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.08559, allocations: 254 kB / 380.6 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003565/0.08915, allocations: 2.483 MB / 383.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.08918, allocations: 43.16 kB / 383.1 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002689/0.08945, allocations: 115.1 kB / 383.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.186e-06/0.08945, allocations: 0 / 383.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=95): time 0.008434/0.09789, allocations: 3.262 MB / 386.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.09794, allocations: 115.8 kB / 386.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/0.09872, allocations: 1.019 MB / 387.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.09877, allocations: 41.7 kB / 387.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.09913, allocations: 0.8397 MB / 388.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.09933, allocations: 361 kB / 388.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.09963, allocations: 347.2 kB / 389.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.09973, allocations: 361.8 kB / 389.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.1, allocations: 206.7 kB / 389.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.1006, allocations: 0.9153 MB / 390.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.1018, allocations: 1.321 MB / 392 MB, free: 7.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/0.1018, allocations: 8 kB / 392 MB, free: 7.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001939/0.1038, allocations: 1.306 MB / 393.3 MB, free: 6.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1038, allocations: 20.09 kB / 393.3 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.1038, allocations: 24 kB / 393.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.1054, allocations: 462.7 kB / 393.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.1069, allocations: 0.6288 MB / 394.4 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.1114, allocations: 6.593 MB / 401 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/0.1124, allocations: 83.8 kB / 401.1 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.1125, allocations: 92.09 kB / 401.2 MB, free: 14.09 MB / 378.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.0003992/0.1129, allocations: 235.9 kB / 401.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1131, allocations: 96.05 kB / 401.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.1149, allocations: 1.016 MB / 402.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.115, allocations: 12 kB / 402.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.115, allocations: 0 / 402.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.115, allocations: 7.984 kB / 402.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.1181, allocations: 1.987 MB / 404.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.1181, allocations: 12.03 kB / 404.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.1186, allocations: 263.6 kB / 404.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.1203, allocations: 488.6 kB / 405.3 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.1204, allocations: 35.98 kB / 405.3 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/0.1248, allocations: 6.4 MB / 411.7 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.1248, allocations: 11.94 kB / 411.7 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.1272, allocations: 1.439 MB / 413.2 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.1274, allocations: 115.2 kB / 413.3 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.1275, allocations: 28 kB / 413.3 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.1279, allocations: 24 kB / 413.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.128, allocations: 112.3 kB / 413.4 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/0.1281, allocations: 39.98 kB / 413.5 MB, free: 1.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004389/0.1285, allocations: 496 kB / 414 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1285, allocations: 0 / 414 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001911/0.1304, allocations: 0.7016 MB / 414.7 MB, free: 15.88 MB / 394.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.0009951/0.1314, allocations: 0.7247 MB / 415.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.1331, allocations: 1.161 MB / 416.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-05/0.1331, allocations: 21.81 kB / 416.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.1338, allocations: 0.8264 MB / 417.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/0.1346, allocations: 247 kB / 417.6 MB, free: 12.82 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.1383, allocations: 2.572 MB / 420.2 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1385, allocations: 267 kB / 420.5 MB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000692/0.1392, allocations: 281.9 kB / 420.7 MB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.1397, allocations: 353.2 kB / 421.1 MB, free: 9.203 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1397, allocations: 4 kB / 421.1 MB, free: 9.199 MB / 394.7 MB Notification: Performance of Templates: time 0.1606/0.3003, allocations: 28.63 MB / 449.7 MB, free: 111.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.802309946157038]