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.000675/0.000675, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008795/0.001554, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007183/0.0007183, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009047/0.001623, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9748/0.9748, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09585/1.071, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.09399/0.09399, allocations: 17.37 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009754/0.1037, allocations: 6.928 MB / 268.3 MB, free: 6.523 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.413e-06/1.413e-06, allocations: 0 / 269.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.346e-05, allocations: 2.312 kB / 269.5 MB, free: 5.238 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.1327/0.1327, allocations: 9.716 MB / 279.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.1489, allocations: 16.63 MB / 295.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.1502, allocations: 33.28 kB / 295.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1512, allocations: 467.8 kB / 296.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.1546, allocations: 1.632 MB / 298 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.1593, allocations: 2.343 MB / 300.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.1613, allocations: 2.786 MB / 303.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.1625, allocations: 1.49 MB / 304.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1639, allocations: 1.997 MB / 306.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.165, allocations: 1.208 MB / 307.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.1653, allocations: 260 kB / 308.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.1681, allocations: 1.77 MB / 309.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.1684, allocations: 450.6 kB / 310.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.169, allocations: 0.7409 MB / 311 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.1721, allocations: 3.557 MB / 314.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.1721, allocations: 0 / 314.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1721, allocations: 3.938 kB / 314.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.911e-05/0.1722, allocations: 0 / 314.6 MB, free: 5.555 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.003734/0.1759, allocations: 3.441 MB / 318 MB, free: 2.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.176, allocations: 12.03 kB / 318.1 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.1774, allocations: 0.8626 MB / 318.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1785, allocations: 0.8279 MB / 319.7 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1786, allocations: 267.7 kB / 320 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.1788, allocations: 220.4 kB / 320.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.1805, allocations: 1.904 MB / 322.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.1805, allocations: 4 kB / 322.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.1806, allocations: 92 kB / 322.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.1807, allocations: 52 kB / 322.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.1821, allocations: 1.455 MB / 323.7 MB, free: 12.18 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.006325/0.1885, allocations: 6.148 MB / 329.9 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.1894, allocations: 1.004 MB / 330.9 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.1898, allocations: 394.3 kB / 331.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/0.1939, allocations: 3.283 MB / 334.5 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1939, allocations: 47.56 kB / 334.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004218/0.1944, allocations: 222.8 kB / 334.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=113): time 2.936e-06/0.1944, allocations: 0 / 334.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of matching and sorting (n=161): time 0.01535/0.2097, allocations: 7.111 MB / 341.9 MB, free: 9.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.2098, allocations: 124.1 kB / 342 MB, free: 9.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.2104, allocations: 1.047 MB / 343.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/0.2105, allocations: 57.7 kB / 343.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.2109, allocations: 0.9808 MB / 344.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.2112, allocations: 0.5848 MB / 344.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.2116, allocations: 464.4 kB / 345.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.2117, allocations: 305.1 kB / 345.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.212, allocations: 321 kB / 345.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/0.2127, allocations: 1.173 MB / 346.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.2143, allocations: 1.799 MB / 348.7 MB, free: 1.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.2143, allocations: 8 kB / 348.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002934/0.2173, allocations: 1.944 MB / 350.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.2173, allocations: 16 kB / 350.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.2173, allocations: 28 kB / 350.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/0.2199, allocations: 1.032 MB / 351.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.221, allocations: 0.6124 MB / 352.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.2255, allocations: 5.704 MB / 358.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007168/0.2262, allocations: 95.89 kB / 358.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.2264, allocations: 123.9 kB / 358.3 MB, free: 8.094 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 (270): * Single equations (assignments): 265 * 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.0003497/0.2267, allocations: 271.9 kB / 358.6 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.2269, allocations: 139.8 kB / 358.7 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.2297, allocations: 1.682 MB / 360.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.2297, allocations: 16 kB / 360.4 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2297, allocations: 8 kB / 360.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.2297, allocations: 7.969 kB / 360.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.2339, allocations: 2.5 MB / 362.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.2339, allocations: 7.938 kB / 362.9 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.2346, allocations: 331.6 kB / 363.2 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2347, allocations: 131.2 kB / 363.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.237, allocations: 0.9143 MB / 364.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.2371, allocations: 59.95 kB / 364.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/0.2403, allocations: 5.108 MB / 369.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.2403, allocations: 3.938 kB / 369.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.2436, allocations: 2.018 MB / 371.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2437, allocations: 36 kB / 371.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.2441, allocations: 35.98 kB / 371.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.2443, allocations: 149 kB / 371.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.2444, allocations: 59.95 kB / 371.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003295/0.2447, allocations: 493.2 kB / 372.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2447, allocations: 0 / 372.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001798/0.2465, allocations: 0.9123 MB / 373.1 MB, free: 8.781 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 (133): * Single equations (assignments): 128 * 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.0009474/0.2475, allocations: 0.8218 MB / 374 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.2494, allocations: 1.73 MB / 375.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-05/0.2495, allocations: 42.53 kB / 375.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.2504, allocations: 0.9682 MB / 376.7 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.2516, allocations: 478.7 kB / 377.2 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.2642, allocations: 3.355 MB / 380.5 MB, free: 1.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.2645, allocations: 351.1 kB / 380.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008353/0.2653, allocations: 346.6 kB / 381.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000645/0.266, allocations: 457 kB / 381.7 MB, free: 104 kB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.266, allocations: 4 kB / 381.7 MB, free: 100 kB / 362.7 MB Notification: Performance of Templates: time 0.04065/0.3066, allocations: 40.74 MB / 422.4 MB, free: 7.699 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.683254956267774]