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.001402/0.001402, allocations: 88.72 kB / 19.44 MB, free: 356 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.001593/0.001593, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.46/1.46, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1433/0.1433, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.844e-06/1.844e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.074e-05, allocations: 2.312 kB / 352.7 MB, free: 10.32 MB / 282.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.04565/0.04568, allocations: 29.75 MB / 382.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03206/0.07774, allocations: 19.45 MB / 401.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.07934, allocations: 31.81 kB / 401.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.08142, allocations: 0.5269 MB / 402.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.08604, allocations: 1.369 MB / 403.8 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.09638, allocations: 3.439 MB / 407.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.1008, allocations: 2.483 MB / 409.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1489/0.2497, allocations: 1.293 MB / 411 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.2522, allocations: 1.53 MB / 412.6 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.2538, allocations: 0.9447 MB / 413.5 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.2542, allocations: 235.6 kB / 413.7 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006004/0.2602, allocations: 2.247 MB / 416 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007054/0.2609, allocations: 0.5491 MB / 416.5 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.2623, allocations: 0.8147 MB / 417.4 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.2734, allocations: 5.273 MB / 422.6 MB, free: 34.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2734, allocations: 0 / 422.6 MB, free: 34.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2734, allocations: 0 / 422.6 MB, free: 34.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.187e-05/0.2735, allocations: 3.156 kB / 422.6 MB, free: 34.08 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.005246/0.2787, allocations: 2.64 MB / 425.3 MB, free: 32.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2788, allocations: 10.12 kB / 425.3 MB, free: 32.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.2812, allocations: 0.8933 MB / 426.2 MB, free: 32.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.2831, allocations: 1.164 MB / 427.3 MB, free: 32.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.2832, allocations: 254.1 kB / 427.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.2835, allocations: 187.1 kB / 427.8 MB, free: 32.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.2871, allocations: 2.719 MB / 430.5 MB, free: 31.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.2871, allocations: 0 / 430.5 MB, free: 31.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.2873, allocations: 82.81 kB / 430.6 MB, free: 31.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.2873, allocations: 47.5 kB / 430.6 MB, free: 31.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.2914, allocations: 3.318 MB / 433.9 MB, free: 30.43 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.01035/0.3017, allocations: 7.345 MB / 441.3 MB, free: 24.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3034, allocations: 1.123 MB / 442.4 MB, free: 23.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.3042, allocations: 0.5911 MB / 443 MB, free: 22.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006681/0.3109, allocations: 3.46 MB / 446.5 MB, free: 19.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3109, allocations: 50.48 kB / 446.5 MB, free: 19.47 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008655/0.3118, allocations: 185.6 kB / 446.7 MB, free: 19.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 4.618e-06/0.3118, allocations: 0 / 446.7 MB, free: 19.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.0262/0.338, allocations: 6.952 MB / 453.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3381, allocations: 119.8 kB / 453.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.3399, allocations: 1.833 MB / 455.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.34, allocations: 41.7 kB / 455.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/0.3404, allocations: 1.046 MB / 456.7 MB, free: 9.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.3407, allocations: 425.9 kB / 457.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.3413, allocations: 415.3 kB / 457.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.3413, allocations: 305.1 kB / 457.8 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.3424, allocations: 0.8707 MB / 458.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3438, allocations: 1.608 MB / 460.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.3463, allocations: 2.344 MB / 462.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.9e-05/0.3464, allocations: 8 kB / 462.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008087/0.3545, allocations: 3.42 MB / 466 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.3545, allocations: 19.98 kB / 466.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/0.3546, allocations: 24 kB / 466.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006938/0.3615, allocations: 1.173 MB / 467.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.3633, allocations: 438 kB / 467.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.3757, allocations: 7.072 MB / 474.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.3779, allocations: 98.44 kB / 474.9 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004626/0.3783, allocations: 116 kB / 475 MB, free: 6.477 MB / 346.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.001242/0.3796, allocations: 404.4 kB / 475.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007062/0.3803, allocations: 179.1 kB / 475.5 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007849/0.3881, allocations: 2.178 MB / 477.7 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.3882, allocations: 15.98 kB / 477.7 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.3882, allocations: 4 kB / 477.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.3882, allocations: 3.984 kB / 477.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.3993, allocations: 3.502 MB / 481.2 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.3993, allocations: 7.984 kB / 481.3 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.4001, allocations: 168.1 kB / 481.4 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006282/0.4064, allocations: 1.067 MB / 482.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/0.4066, allocations: 43.97 kB / 482.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.4167, allocations: 6.365 MB / 488.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.4167, allocations: 4.031 kB / 488.9 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008823/0.4255, allocations: 2.927 MB / 491.8 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.426, allocations: 123.1 kB / 491.9 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/0.4264, allocations: 24 kB / 492 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.4275, allocations: 31.98 kB / 492 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/0.4278, allocations: 123.8 kB / 492.1 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.428, allocations: 50.62 kB / 492.2 MB, free: 5.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001928/0.4299, allocations: 1.252 MB / 493.4 MB, free: 3.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4299, allocations: 0 / 493.4 MB, free: 3.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003776/0.4337, allocations: 0.9741 MB / 494.4 MB, free: 2.863 MB / 362.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.002824/0.4365, allocations: 1.036 MB / 495.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005591/0.4421, allocations: 2.365 MB / 497.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.4421, allocations: 6.625 kB / 497.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/0.4448, allocations: 1.098 MB / 498.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.4466, allocations: 275 kB / 499.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007202/0.4538, allocations: 3.128 MB / 0.4905 GB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.455, allocations: 0.7305 MB / 0.4912 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00128/0.4562, allocations: 329.4 kB / 0.4915 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.4567, allocations: 179.2 kB / 0.4917 GB, free: 10.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.014e-06/0.4567, allocations: 0 / 0.4917 GB, free: 10.08 MB / 378.7 MB Notification: Performance of Templates: time 0.06554/0.5223, allocations: 36.01 MB / 0.5269 GB, free: 6.879 MB / 410.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.268448717077263]