Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.0006879/0.0006879, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009552/0.001643, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007195/0.0007195, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000997/0.001716, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.951/0.951, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08739/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.08316/0.08316, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01295/0.09611, allocations: 6.926 MB / 268.4 MB, free: 6.414 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.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 269.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.254e-05, allocations: 2.312 kB / 269.7 MB, free: 5.102 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.ElectrochemicalAcetateProduction): time 0.1409/0.1409, allocations: 9.728 MB / 279.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01534/0.1562, allocations: 16.63 MB / 296.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009533/0.1572, allocations: 33.47 kB / 296.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008753/0.1581, allocations: 462 kB / 296.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.1613, allocations: 1.645 MB / 298.2 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.1656, allocations: 2.338 MB / 300.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.168, allocations: 2.784 MB / 303.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.1694, allocations: 1.486 MB / 304.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.1712, allocations: 1.997 MB / 306.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.1725, allocations: 1.212 MB / 308.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003383/0.1729, allocations: 260 kB / 308.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.1762, allocations: 1.774 MB / 310.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.1766, allocations: 450.6 kB / 310.5 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006212/0.1772, allocations: 0.7332 MB / 311.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.1808, allocations: 3.561 MB / 314.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.1808, allocations: 0 / 314.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1808, allocations: 0 / 314.8 MB, free: 5.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.1808, allocations: 3.938 kB / 314.8 MB, free: 5.355 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.002901/0.1837, allocations: 3.441 MB / 318.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1838, allocations: 8.031 kB / 318.3 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.1855, allocations: 0.8704 MB / 319.1 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.1869, allocations: 0.8163 MB / 320 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.1871, allocations: 271.7 kB / 320.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.1874, allocations: 220.3 kB / 320.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.1892, allocations: 1.908 MB / 322.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.1892, allocations: 4 kB / 322.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.1894, allocations: 91.94 kB / 322.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.1894, allocations: 52 kB / 322.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.1909, allocations: 1.452 MB / 323.9 MB, free: 11.98 MB / 314.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.006073/0.1969, allocations: 6.148 MB / 330.1 MB, free: 5.664 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009262/0.1979, allocations: 1 MB / 331.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.1982, allocations: 402.2 kB / 331.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00396/0.2022, allocations: 3.276 MB / 334.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2022, allocations: 47.56 kB / 334.8 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004524/0.2027, allocations: 218.8 kB / 335 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=113): time 2.675e-06/0.2027, allocations: 0 / 335 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.01629/0.219, allocations: 7.928 MB / 342.9 MB, free: 8.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.219, allocations: 120.1 kB / 343.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.2197, allocations: 1.058 MB / 344.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.2197, allocations: 49.7 kB / 344.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.2201, allocations: 0.9847 MB / 345.2 MB, free: 6.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.2204, allocations: 0.5888 MB / 345.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.2208, allocations: 464.4 kB / 346.2 MB, free: 5.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.2208, allocations: 305.1 kB / 346.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.2212, allocations: 312 kB / 346.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.2219, allocations: 1.176 MB / 348 MB, free: 3.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.2232, allocations: 1.899 MB / 349.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.2232, allocations: 8 kB / 349.9 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.00284/0.2261, allocations: 1.936 MB / 351.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.2261, allocations: 20 kB / 351.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.2261, allocations: 28 kB / 351.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.2286, allocations: 1.027 MB / 352.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.2296, allocations: 0.6084 MB / 353.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004129/0.2338, allocations: 5.702 MB / 359.2 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.2345, allocations: 103.9 kB / 359.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.2346, allocations: 120 kB / 359.4 MB, free: 7.008 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (269): * Single equations (assignments): 264 * 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 {(1,20), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003456/0.2349, allocations: 263.8 kB / 359.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.2351, allocations: 143.8 kB / 359.8 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.2379, allocations: 1.645 MB / 361.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.2379, allocations: 16 kB / 361.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2379, allocations: 4.109 kB / 361.5 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.2379, allocations: 15.91 kB / 361.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003816/0.2417, allocations: 2.442 MB / 363.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2417, allocations: 4 kB / 363.9 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.2423, allocations: 323.6 kB / 364.3 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2424, allocations: 134.9 kB / 364.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.2447, allocations: 0.9198 MB / 365.3 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.2448, allocations: 59.91 kB / 365.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.2481, allocations: 5.12 MB / 370.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.2481, allocations: 7.938 kB / 370.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.2509, allocations: 1.952 MB / 372.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.251, allocations: 31.98 kB / 372.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.2514, allocations: 43.94 kB / 372.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.2517, allocations: 153 kB / 372.7 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/0.2517, allocations: 55.95 kB / 372.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003505/0.2521, allocations: 497.2 kB / 373.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2521, allocations: 0 / 373.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001975/0.2541, allocations: 0.9007 MB / 374.1 MB, free: 7.848 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,AcAc.logn,CO2.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 (132): * Single equations (assignments): 127 * 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,21), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009539/0.255, allocations: 0.8282 MB / 374.9 MB, free: 7.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.2569, allocations: 1.758 MB / 376.7 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.077e-05/0.257, allocations: 42.41 kB / 376.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009986/0.258, allocations: 1.059 MB / 377.8 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.2593, allocations: 1.854 MB / 379.7 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.2739, allocations: 3.328 MB / 383 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.2742, allocations: 343.1 kB / 383.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001016/0.2752, allocations: 343.5 kB / 383.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008353/0.276, allocations: 453 kB / 384.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.276, allocations: 4 kB / 384.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of Templates: time 0.05102/0.3271, allocations: 40.08 MB / 424.2 MB, free: 5.652 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7711045891046524]