Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.0009939/0.0009939, allocations: 80.94 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.00106/0.00106, allocations: 181 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 0.9943/0.9943, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.08789/0.08789, allocations: 17.46 MB / 277.7 MB, free: 11.46 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.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 300.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.659e-06/1.087e-05, allocations: 7.719 kB / 300.8 MB, free: 1.723 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.ClimateChange.MethanElectrosynthesis): time 0.03139/0.0314, allocations: 38.55 MB / 339.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.04529, allocations: 15.09 MB / 354.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007732/0.04607, allocations: 27.81 kB / 354.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008029/0.04687, allocations: 444.2 kB / 354.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.04902, allocations: 1.314 MB / 356.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.05298, allocations: 2.256 MB / 358.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.05484, allocations: 2.479 MB / 360.9 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009617/0.0558, allocations: 1.318 MB / 362.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.05709, allocations: 1.599 MB / 363.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009155/0.058, allocations: 1.037 MB / 364.9 MB, free: 4.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.05821, allocations: 232 kB / 365.1 MB, free: 3.863 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.06064, allocations: 1.552 MB / 366.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.06094, allocations: 0.5685 MB / 367.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.06149, allocations: 0.8186 MB / 368.1 MB, free: 0.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.06473, allocations: 3.451 MB / 371.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.06473, allocations: 0 / 371.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.06473, allocations: 0 / 371.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.06475, allocations: 3.938 kB / 371.5 MB, free: 13.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.002303/0.06705, allocations: 2.479 MB / 374 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.06708, allocations: 12.03 kB / 374 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.06831, allocations: 0.7915 MB / 374.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.06918, allocations: 0.758 MB / 375.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.06931, allocations: 247.2 kB / 375.8 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.06949, allocations: 192.3 kB / 376 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.07094, allocations: 1.671 MB / 377.7 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.07097, allocations: 0 / 377.7 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.07108, allocations: 83.94 kB / 377.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.0711, allocations: 44 kB / 377.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.07269, allocations: 1.254 MB / 379 MB, free: 5.746 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.005506/0.07819, allocations: 5.433 MB / 384.5 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.07897, allocations: 0.7715 MB / 385.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.07951, allocations: 277.2 kB / 385.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003452/0.08296, allocations: 2.648 MB / 388.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.08299, allocations: 51.16 kB / 388.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003687/0.08336, allocations: 175 kB / 388.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 1.964e-06/0.08336, allocations: 0 / 388.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01232/0.09568, allocations: 5.014 MB / 393.4 MB, free: 7.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.09572, allocations: 123.7 kB / 393.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.09649, allocations: 1.187 MB / 394.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.09655, allocations: 45.7 kB / 394.7 MB, free: 5.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.0969, allocations: 0.9412 MB / 395.7 MB, free: 4.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.09712, allocations: 432.3 kB / 396.1 MB, free: 4.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.09748, allocations: 407.1 kB / 396.5 MB, free: 3.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.09755, allocations: 305.1 kB / 396.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.09787, allocations: 250.8 kB / 397 MB, free: 3.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.09848, allocations: 0.9716 MB / 398 MB, free: 2.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.09981, allocations: 1.477 MB / 399.5 MB, free: 248 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.09982, allocations: 8 kB / 399.5 MB, free: 240 kB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002671/0.1025, allocations: 1.674 MB / 401.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1025, allocations: 19.94 kB / 401.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.1025, allocations: 24 kB / 401.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/0.1049, allocations: 0.8995 MB / 402.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.1057, allocations: 463.2 kB / 402.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/0.1101, allocations: 5.672 MB / 408.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.1107, allocations: 87.84 kB / 408.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.1108, allocations: 91.97 kB / 408.4 MB, free: 6.973 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000284/0.1111, allocations: 255.9 kB / 408.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.1113, allocations: 115.9 kB / 408.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.1137, allocations: 1.268 MB / 410.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1137, allocations: 23.94 kB / 410.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1137, allocations: 0 / 410.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.1137, allocations: 11.97 kB / 410.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.1172, allocations: 2.2 MB / 412.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1172, allocations: 0 / 412.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.1176, allocations: 199.9 kB / 412.5 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.1198, allocations: 0.7858 MB / 413.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.1199, allocations: 43.97 kB / 413.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/0.1235, allocations: 5.068 MB / 418.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1235, allocations: 64 / 418.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.126, allocations: 1.601 MB / 420 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1261, allocations: 111.1 kB / 420.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.1262, allocations: 28 kB / 420.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.1266, allocations: 35.98 kB / 420.2 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.1267, allocations: 112.7 kB / 420.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.1268, allocations: 39.97 kB / 420.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006641/0.1275, allocations: 0.579 MB / 420.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1275, allocations: 4 kB / 420.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001539/0.129, allocations: 0.7915 MB / 421.7 MB, free: 9.246 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,17), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008148/0.1298, allocations: 0.7129 MB / 422.4 MB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.1315, allocations: 1.491 MB / 423.9 MB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.363e-05/0.1315, allocations: 23.84 kB / 423.9 MB, free: 6.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.1323, allocations: 0.8199 MB / 424.7 MB, free: 6.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.133, allocations: 272.8 kB / 425 MB, free: 5.828 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.003465/0.1365, allocations: 2.823 MB / 427.8 MB, free: 2.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.1366, allocations: 296.3 kB / 428.1 MB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005683/0.1372, allocations: 298.8 kB / 428.4 MB, free: 2.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/0.1377, allocations: 369 kB / 428.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1377, allocations: 0 / 428.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of Templates: time 0.1384/0.2762, allocations: 35.21 MB / 464 MB, free: 105.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6977854729630053]