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.00115/0.00115, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001423/0.001423, allocations: 181 kB / 23.35 MB, free: 1.137 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 0.9107/0.9107, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 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.08561/0.08561, allocations: 17.47 MB / 277.7 MB, free: 11.42 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 1.502e-06/1.502e-06, allocations: 0 / 300.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.815e-05, allocations: 5.578 kB / 300.7 MB, free: 1.727 MB / 266.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.03211/0.03213, allocations: 37.46 MB / 338.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.04486, allocations: 14.59 MB / 352.8 MB, free: 240 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.04588, allocations: 27.75 kB / 352.8 MB, free: 212 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008116/0.04669, allocations: 400.6 kB / 353.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.04914, allocations: 1.225 MB / 354.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.05281, allocations: 2.202 MB / 356.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.05467, allocations: 2.163 MB / 358.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.05562, allocations: 1.132 MB / 359.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.05689, allocations: 1.412 MB / 361.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.05773, allocations: 0.9002 MB / 362.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.05791, allocations: 196 kB / 362.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.06045, allocations: 1.478 MB / 363.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.06075, allocations: 0.4906 MB / 364.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.06127, allocations: 0.7094 MB / 365.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.06499, allocations: 3.214 MB / 368.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.06499, allocations: 0 / 368.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.06499, allocations: 0 / 368.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.06501, allocations: 0 / 368.3 MB, free: 0.5742 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.002483/0.0675, allocations: 2.205 MB / 370.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.06753, allocations: 12.03 kB / 370.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.06856, allocations: 0.6746 MB / 371.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.06937, allocations: 0.6727 MB / 371.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.0695, allocations: 238.7 kB / 372.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.06966, allocations: 164.4 kB / 372.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.07089, allocations: 1.438 MB / 373.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.07091, allocations: 0 / 373.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.07101, allocations: 72 kB / 373.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.07103, allocations: 40 kB / 373.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.07216, allocations: 1.103 MB / 374.9 MB, free: 9.781 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.004939/0.07709, allocations: 4.768 MB / 379.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.07777, allocations: 0.7039 MB / 380.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.07802, allocations: 257.9 kB / 380.6 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003437/0.08146, allocations: 2.471 MB / 383.1 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.08148, allocations: 43.22 kB / 383.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002043/0.08169, allocations: 103.1 kB / 383.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 2.645e-06/0.08169, allocations: 3.938 kB / 383.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=95): time 0.007419/0.08911, allocations: 3.254 MB / 386.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.08916, allocations: 119.8 kB / 386.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.08983, allocations: 1.008 MB / 387.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.08988, allocations: 41.7 kB / 387.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.09021, allocations: 0.8514 MB / 388.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.0904, allocations: 361 kB / 388.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.09069, allocations: 347.2 kB / 389.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.09079, allocations: 369.7 kB / 389.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.09104, allocations: 202.7 kB / 389.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/0.09184, allocations: 0.9075 MB / 390.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.09275, allocations: 1.321 MB / 392 MB, free: 7.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.09276, allocations: 8 kB / 392 MB, free: 7.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001805/0.09456, allocations: 1.313 MB / 393.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.09458, allocations: 16 kB / 393.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.0946, allocations: 24 kB / 393.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.09601, allocations: 471.2 kB / 393.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.09739, allocations: 0.5383 MB / 394.4 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.1013, allocations: 6.585 MB / 401 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.102, allocations: 87.98 kB / 401 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/0.102, allocations: 87.97 kB / 401.1 MB, free: 14.13 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.0002922/0.1023, allocations: 231.9 kB / 401.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.1025, allocations: 99.84 kB / 401.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.1041, allocations: 1.001 MB / 402.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1042, allocations: 8 kB / 402.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1042, allocations: 7.938 kB / 402.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1042, allocations: 3.984 kB / 402.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.107, allocations: 1.987 MB / 404.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.107, allocations: 8 kB / 404.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.1074, allocations: 207.7 kB / 404.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.1088, allocations: 492.6 kB / 405.2 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.1089, allocations: 47.98 kB / 405.2 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.1123, allocations: 6.382 MB / 411.6 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1123, allocations: 8 kB / 411.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.114, allocations: 1.451 MB / 413 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1141, allocations: 115.2 kB / 413.2 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.1142, allocations: 24 kB / 413.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.1145, allocations: 39.92 kB / 413.2 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1146, allocations: 112.2 kB / 413.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.1146, allocations: 43.98 kB / 413.4 MB, free: 1.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.115, allocations: 480.1 kB / 413.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.115, allocations: 0 / 413.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001515/0.1165, allocations: 0.7095 MB / 414.5 MB, free: 15.97 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.0008001/0.1173, allocations: 0.7128 MB / 415.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.1186, allocations: 1.173 MB / 416.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/0.1186, allocations: 17.81 kB / 416.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.1192, allocations: 0.8305 MB / 417.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.1199, allocations: 246.6 kB / 417.5 MB, free: 12.92 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.003008/0.1229, allocations: 2.562 MB / 420.1 MB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.1231, allocations: 271.1 kB / 420.3 MB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000557/0.1237, allocations: 278 kB / 420.6 MB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.1241, allocations: 349.2 kB / 421 MB, free: 9.316 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1241, allocations: 0 / 421 MB, free: 9.316 MB / 394.7 MB Notification: Performance of Templates: time 0.1288/0.2529, allocations: 28.48 MB / 449.4 MB, free: 110.5 MB / 410.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: 3.5168403103016317]