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.001341/0.001341, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001748/0.001748, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.09524/0.09524, allocations: 17.39 MB / 278.4 MB, free: 11.48 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.312e-06/1.312e-06, allocations: 0 / 354.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.581e-05, allocations: 2.312 kB / 354.7 MB, free: 10.72 MB / 330.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.03319/0.03321, allocations: 32.68 MB / 387.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.0472, allocations: 14.83 MB / 402.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.04864, allocations: 31.75 kB / 402.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.04968, allocations: 436.3 kB / 402.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.05295, allocations: 1.33 MB / 404 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.05755, allocations: 2.261 MB / 406.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002899/0.06045, allocations: 2.483 MB / 408.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.06222, allocations: 1.298 MB / 410 MB, free: 3.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.06439, allocations: 1.603 MB / 411.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.06589, allocations: 1.04 MB / 412.7 MB, free: 0.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005203/0.06641, allocations: 232 kB / 412.9 MB, free: 452 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.07025, allocations: 1.505 MB / 414.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.07077, allocations: 0.5607 MB / 415 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.07192, allocations: 0.8225 MB / 415.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.07877, allocations: 3.459 MB / 419.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.07877, allocations: 0 / 419.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.07877, allocations: 0 / 419.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.325e-05/0.07884, allocations: 0 / 419.2 MB, free: 10.07 MB / 394.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.003561/0.0824, allocations: 2.638 MB / 421.9 MB, free: 7.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.08244, allocations: 8.031 kB / 421.9 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.08398, allocations: 0.8405 MB / 422.7 MB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.08522, allocations: 0.9793 MB / 423.7 MB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.08538, allocations: 255.2 kB / 423.9 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.08559, allocations: 188.4 kB / 424.1 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.08759, allocations: 1.68 MB / 425.8 MB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.08763, allocations: 3.938 kB / 425.8 MB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.08775, allocations: 80 kB / 425.9 MB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.08778, allocations: 44 kB / 425.9 MB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.08953, allocations: 1.448 MB / 427.4 MB, free: 1.711 MB / 394.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.008136/0.09766, allocations: 7.042 MB / 434.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.09863, allocations: 0.7957 MB / 435.2 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.09898, allocations: 325.8 kB / 435.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00469/0.1037, allocations: 3.178 MB / 438.7 MB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1037, allocations: 46.05 kB / 438.8 MB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006223/0.1043, allocations: 178.9 kB / 438.9 MB, free: 5.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 6.692e-06/0.1043, allocations: 4 kB / 438.9 MB, free: 5.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.01358/0.1179, allocations: 4.748 MB / 443.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.118, allocations: 115.8 kB / 443.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1607/0.2787, allocations: 1.261 MB / 445.1 MB, free: 98.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.2789, allocations: 46.67 kB / 445.1 MB, free: 98.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/0.2794, allocations: 1.113 MB / 446.2 MB, free: 97.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.2797, allocations: 444 kB / 446.7 MB, free: 97.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.2801, allocations: 426.7 kB / 447.1 MB, free: 97.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.2802, allocations: 480.2 kB / 447.5 MB, free: 97.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.2806, allocations: 286.2 kB / 447.8 MB, free: 97.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.2813, allocations: 1.325 MB / 449.1 MB, free: 95.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.2826, allocations: 1.771 MB / 450.9 MB, free: 94.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.2826, allocations: 9.75 kB / 450.9 MB, free: 94.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003656/0.2863, allocations: 2.039 MB / 453 MB, free: 94.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.2863, allocations: 15.38 kB / 453 MB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/0.2863, allocations: 24.91 kB / 453 MB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.2891, allocations: 0.906 MB / 453.9 MB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/0.2899, allocations: 432 kB / 454.3 MB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.2945, allocations: 7.877 MB / 462.2 MB, free: 87.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.2956, allocations: 93.84 kB / 462.3 MB, free: 87.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.2957, allocations: 103.7 kB / 462.4 MB, free: 87.49 MB / 410.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.0004606/0.2962, allocations: 291.8 kB / 462.7 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.2964, allocations: 181 kB / 462.9 MB, free: 87.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.2991, allocations: 1.48 MB / 464.3 MB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.2992, allocations: 12.94 kB / 464.4 MB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2992, allocations: 3.156 kB / 464.4 MB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.2992, allocations: 6.844 kB / 464.4 MB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/0.304, allocations: 2.721 MB / 467.1 MB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.304, allocations: 3.094 kB / 467.1 MB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.3045, allocations: 171.8 kB / 467.3 MB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/0.3072, allocations: 0.8154 MB / 468.1 MB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-05/0.3073, allocations: 46.23 kB / 468.1 MB, free: 86.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003975/0.3113, allocations: 7.241 MB / 475.4 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3113, allocations: 3.062 kB / 475.4 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.3144, allocations: 1.956 MB / 477.3 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.3148, allocations: 127.9 kB / 477.4 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.3149, allocations: 27.19 kB / 477.5 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.3153, allocations: 27.84 kB / 477.5 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.3156, allocations: 114.6 kB / 477.6 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.3157, allocations: 49.81 kB / 477.7 MB, free: 79.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005849/0.3162, allocations: 0.6927 MB / 478.4 MB, free: 79.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.3162, allocations: 0 / 478.4 MB, free: 79.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002373/0.3186, allocations: 0.793 MB / 479.1 MB, free: 79.3 MB / 410.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.001138/0.3198, allocations: 0.7366 MB / 479.9 MB, free: 79.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.3219, allocations: 1.745 MB / 481.6 MB, free: 78.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3219, allocations: 2.781 kB / 481.6 MB, free: 78.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.3228, allocations: 1.042 MB / 482.7 MB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.3236, allocations: 268.4 kB / 482.9 MB, free: 78.07 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.3276, allocations: 2.893 MB / 485.8 MB, free: 76.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3278, allocations: 299.4 kB / 486.1 MB, free: 76.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006594/0.3285, allocations: 299.9 kB / 486.4 MB, free: 76.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.3289, allocations: 406 kB / 486.8 MB, free: 76.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3289, allocations: 4.891 kB / 486.8 MB, free: 76.6 MB / 410.7 MB Notification: Performance of Templates: time 0.03806/0.367, allocations: 35.92 MB / 0.5105 GB, free: 59.7 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: 4.137568287085742]