Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0008816/0.0008816, 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.0009325/0.0009325, 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.9351/0.9351, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.09043/0.09043, allocations: 17.39 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.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 300.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.235e-05, allocations: 2.312 kB / 300.6 MB, free: 1.871 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.ClimateChange.MethanElectrosynthesis): time 0.039/0.03902, allocations: 38.49 MB / 339.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.05281, allocations: 15.1 MB / 354.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.05428, allocations: 31.75 kB / 354.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.0553, allocations: 436.2 kB / 354.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.05863, allocations: 1.334 MB / 356 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004749/0.06338, allocations: 2.284 MB / 358.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.06652, allocations: 2.479 MB / 360.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.06812, allocations: 1.326 MB / 362.1 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.07012, allocations: 1.603 MB / 363.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.07152, allocations: 1.033 MB / 364.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005242/0.07205, allocations: 228 kB / 365 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.07548, allocations: 1.505 MB / 366.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.07606, allocations: 0.5685 MB / 367 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.07717, allocations: 0.8264 MB / 367.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006288/0.08346, allocations: 3.451 MB / 371.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.08347, allocations: 7.984 kB / 371.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08347, allocations: 0 / 371.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.034e-05/0.08354, allocations: 0 / 371.3 MB, free: 13.75 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.002881/0.08642, allocations: 2.471 MB / 373.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.08645, allocations: 8.031 kB / 373.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.08768, allocations: 0.8029 MB / 374.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.08865, allocations: 0.7502 MB / 375.3 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.08879, allocations: 259.1 kB / 375.6 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.08897, allocations: 196.3 kB / 375.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.09051, allocations: 1.659 MB / 377.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.09054, allocations: 3.938 kB / 377.5 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.09065, allocations: 76 kB / 377.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.09067, allocations: 48 kB / 377.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.09205, allocations: 1.254 MB / 378.8 MB, free: 6.051 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.005893/0.09794, allocations: 5.449 MB / 384.3 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.09871, allocations: 0.756 MB / 385 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.09898, allocations: 285.4 kB / 385.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003542/0.1025, allocations: 2.644 MB / 388 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1025, allocations: 39.22 kB / 388 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003886/0.1029, allocations: 179 kB / 388.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 3.406e-06/0.1029, allocations: 0 / 388.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01171/0.1147, allocations: 5.022 MB / 393.2 MB, free: 7.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1147, allocations: 115.8 kB / 393.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008971/0.1156, allocations: 1.191 MB / 394.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.1157, allocations: 45.7 kB / 394.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.1161, allocations: 0.9412 MB / 395.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.1163, allocations: 436.4 kB / 395.9 MB, free: 4.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/0.1167, allocations: 399.2 kB / 396.3 MB, free: 4.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.1167, allocations: 301.1 kB / 396.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.1171, allocations: 250.8 kB / 396.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.1177, allocations: 0.9832 MB / 397.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.1188, allocations: 1.465 MB / 399.3 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.1188, allocations: 12 kB / 399.3 MB, free: 0.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002763/0.1216, allocations: 1.67 MB / 401 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1216, allocations: 16.47 kB / 401 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.1216, allocations: 28 kB / 401 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/0.124, allocations: 0.8912 MB / 401.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.1248, allocations: 423.3 kB / 402.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/0.129, allocations: 5.618 MB / 407.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008505/0.1298, allocations: 91.84 kB / 408 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.1299, allocations: 99.95 kB / 408.1 MB, free: 7.371 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.0003941/0.1303, allocations: 251.9 kB / 408.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.1305, allocations: 111.9 kB / 408.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.1329, allocations: 1.276 MB / 409.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1329, allocations: 19.94 kB / 409.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1329, allocations: 7.938 kB / 409.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1329, allocations: 7.969 kB / 409.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.1366, allocations: 2.197 MB / 412 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1366, allocations: 0 / 412 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.1369, allocations: 175.9 kB / 412.2 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.1392, allocations: 0.7897 MB / 412.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.1392, allocations: 43.97 kB / 413 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.1426, allocations: 5.051 MB / 418 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1426, allocations: 4 kB / 418 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.1452, allocations: 1.594 MB / 419.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.1454, allocations: 111.1 kB / 419.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.1455, allocations: 27.98 kB / 419.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.1459, allocations: 28 kB / 419.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.1461, allocations: 116.7 kB / 419.9 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.1461, allocations: 39.97 kB / 420 MB, free: 11.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004653/0.1466, allocations: 0.579 MB / 420.5 MB, free: 10.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1466, allocations: 0 / 420.5 MB, free: 10.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001946/0.1485, allocations: 0.7915 MB / 421.3 MB, free: 9.699 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.0009662/0.1495, allocations: 0.7132 MB / 422 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.1515, allocations: 1.49 MB / 423.5 MB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.247e-05/0.1516, allocations: 27.84 kB / 423.6 MB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.1524, allocations: 0.8205 MB / 424.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.1533, allocations: 264.5 kB / 424.6 MB, free: 6.285 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.003709/0.157, allocations: 2.84 MB / 427.5 MB, free: 3.383 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.1572, allocations: 296.3 kB / 427.8 MB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006045/0.1578, allocations: 291.2 kB / 428 MB, free: 2.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.1583, allocations: 365.1 kB / 428.4 MB, free: 2.418 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1583, allocations: 0 / 428.4 MB, free: 2.418 MB / 394.7 MB Notification: Performance of Templates: time 0.1561/0.3143, allocations: 35.21 MB / 463.6 MB, free: 106.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.758093356154859]