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.0009571/0.0009571, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001299/0.001299, allocations: 173 kB / 23.03 MB, free: 1.547 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.9768/0.9768, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.114/0.114, allocations: 17.47 MB / 277.4 MB, free: 11.55 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.593e-06/1.593e-06, allocations: 3.938 kB / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.088e-05, allocations: 9.688 kB / 353.6 MB, free: 9.84 MB / 282.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.02783/0.02785, allocations: 32.82 MB / 386.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.04106, allocations: 15.17 MB / 401.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009089/0.04197, allocations: 31.75 kB / 401.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.04304, allocations: 432.3 kB / 402 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.04518, allocations: 1.33 MB / 403.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004017/0.0492, allocations: 2.26 MB / 405.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.05118, allocations: 2.483 MB / 408.1 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.05254, allocations: 1.298 MB / 409.4 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.05362, allocations: 1.599 MB / 411 MB, free: 400 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1519/0.2055, allocations: 1.029 MB / 412 MB, free: 39.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.2065, allocations: 230.9 kB / 412.2 MB, free: 39.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004072/0.2106, allocations: 1.506 MB / 413.7 MB, free: 39.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005657/0.2112, allocations: 0.5561 MB / 414.3 MB, free: 39.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.2126, allocations: 0.827 MB / 415.1 MB, free: 39.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005658/0.2182, allocations: 3.463 MB / 418.6 MB, free: 38.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2182, allocations: 0.5156 kB / 418.6 MB, free: 38.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2182, allocations: 0 / 418.6 MB, free: 38.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.2183, allocations: 4.062 kB / 418.6 MB, free: 38.86 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.003012/0.2213, allocations: 2.627 MB / 421.2 MB, free: 37.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.2213, allocations: 11.83 kB / 421.2 MB, free: 37.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.2228, allocations: 0.8457 MB / 422.1 MB, free: 37.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.2238, allocations: 0.9805 MB / 423.1 MB, free: 37.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.2239, allocations: 252.9 kB / 423.3 MB, free: 36.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.2241, allocations: 198.4 kB / 423.5 MB, free: 36.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.226, allocations: 1.836 MB / 425.3 MB, free: 36.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.2261, allocations: 0 / 425.3 MB, free: 36.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.2262, allocations: 78.81 kB / 425.4 MB, free: 36.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.2262, allocations: 47.16 kB / 425.5 MB, free: 36.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.2281, allocations: 1.702 MB / 427.2 MB, free: 36.57 MB / 330.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.006014/0.2342, allocations: 7.03 MB / 434.2 MB, free: 32.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.2351, allocations: 0.8633 MB / 435.1 MB, free: 31.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.2355, allocations: 386.7 kB / 435.4 MB, free: 31.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003425/0.2389, allocations: 3.21 MB / 438.6 MB, free: 29.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2389, allocations: 41.27 kB / 438.7 MB, free: 29.71 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003583/0.2393, allocations: 188.3 kB / 438.9 MB, free: 29.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.054e-06/0.2393, allocations: 0 / 438.9 MB, free: 29.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01189/0.2512, allocations: 5.827 MB / 444.7 MB, free: 24.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.2512, allocations: 120.4 kB / 444.8 MB, free: 24.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2523, allocations: 1.323 MB / 446.1 MB, free: 23.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.2524, allocations: 48.36 kB / 446.2 MB, free: 23.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.2528, allocations: 1.101 MB / 447.3 MB, free: 22.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.253, allocations: 440.2 kB / 447.7 MB, free: 21.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.2534, allocations: 421 kB / 448.1 MB, free: 21.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.2535, allocations: 480.7 kB / 448.6 MB, free: 20.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.254, allocations: 363.8 kB / 448.9 MB, free: 20.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/0.2548, allocations: 1.391 MB / 450.3 MB, free: 18.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.2561, allocations: 1.899 MB / 452.2 MB, free: 16.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.2561, allocations: 8 kB / 452.2 MB, free: 16.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003357/0.2595, allocations: 2.225 MB / 454.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.2595, allocations: 16 kB / 454.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.2595, allocations: 24 kB / 454.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/0.2621, allocations: 0.9351 MB / 455.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.2628, allocations: 431.2 kB / 455.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004423/0.2672, allocations: 8.006 MB / 463.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.268, allocations: 98.44 kB / 464 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.2681, allocations: 116 kB / 464.1 MB, free: 4.328 MB / 330.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.0003514/0.2684, allocations: 290.5 kB / 464.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.2686, allocations: 183 kB / 464.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.2714, allocations: 1.605 MB / 466.1 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2714, allocations: 12 kB / 466.2 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2714, allocations: 4 kB / 466.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.2714, allocations: 10.62 kB / 466.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.2758, allocations: 2.824 MB / 469 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2758, allocations: 6.656 kB / 469 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.2762, allocations: 167.2 kB / 469.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.2786, allocations: 0.8222 MB / 470 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.2787, allocations: 53.42 kB / 470 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004749/0.2835, allocations: 7.379 MB / 477.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2835, allocations: 0 / 477.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.2867, allocations: 2.129 MB / 479.5 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2869, allocations: 127.1 kB / 479.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.287, allocations: 24 kB / 479.7 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.2874, allocations: 34.61 kB / 479.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.2876, allocations: 124 kB / 479.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.2877, allocations: 47.97 kB / 479.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006411/0.2883, allocations: 0.7835 MB / 480.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2883, allocations: 0 / 480.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002208/0.2905, allocations: 0.7915 MB / 481.5 MB, free: 2.641 MB / 346.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.0009482/0.2915, allocations: 0.703 MB / 482.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.2938, allocations: 1.891 MB / 484.1 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2938, allocations: 0 / 484.1 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.2948, allocations: 1.102 MB / 485.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.2956, allocations: 273.4 kB / 485.4 MB, free: 14.8 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.2994, allocations: 2.938 MB / 488.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.2997, allocations: 307 kB / 488.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008652/0.3005, allocations: 312.1 kB / 489 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.3008, allocations: 180.4 kB / 489.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3008, allocations: 0 / 489.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Templates: time 0.0358/0.3366, allocations: 34.88 MB / 0.5117 GB, free: 9.348 MB / 394.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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8938592500053346]