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.0009529/0.0009529, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009131/0.0009131, allocations: 165 kB / 23.27 MB, free: 1.219 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.8862/0.8862, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.08008/0.08008, allocations: 17.39 MB / 277.6 MB, free: 11.49 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.212e-06/1.212e-06, allocations: 0 / 353.9 MB, free: 9.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.641e-05, allocations: 2.312 kB / 353.9 MB, free: 9.672 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.ElectrochemicalAcetateProduction): time 0.02601/0.02603, allocations: 33.28 MB / 387.2 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.03968, allocations: 16.22 MB / 403.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.04073, allocations: 31.75 kB / 403.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.04162, allocations: 452.1 kB / 403.9 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.04455, allocations: 1.66 MB / 405.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.04838, allocations: 2.354 MB / 407.9 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.05071, allocations: 2.791 MB / 410.7 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1128/0.1635, allocations: 1.47 MB / 412.1 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.1656, allocations: 1.881 MB / 414 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.1673, allocations: 1.216 MB / 415.2 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005897/0.1679, allocations: 259.5 kB / 415.5 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.1712, allocations: 1.698 MB / 417.2 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.1716, allocations: 0.6329 MB / 417.8 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.1728, allocations: 0.9335 MB / 418.8 MB, free: 36.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005039/0.1779, allocations: 3.913 MB / 422.7 MB, free: 36.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1779, allocations: 0 / 422.7 MB, free: 36.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1779, allocations: 0 / 422.7 MB, free: 36.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.421e-05/0.1779, allocations: 0 / 422.7 MB, free: 36.65 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: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.003021/0.181, allocations: 2.914 MB / 425.6 MB, free: 35.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.181, allocations: 9.625 kB / 425.6 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.1822, allocations: 0.8289 MB / 426.4 MB, free: 35.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.1832, allocations: 1.064 MB / 427.5 MB, free: 34.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1833, allocations: 277.9 kB / 427.8 MB, free: 34.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.1835, allocations: 219.8 kB / 428 MB, free: 34.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.1851, allocations: 1.908 MB / 429.9 MB, free: 34.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.1852, allocations: 3.281 kB / 429.9 MB, free: 34.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1853, allocations: 90.38 kB / 430 MB, free: 34.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.1853, allocations: 54.47 kB / 430 MB, free: 34.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.1868, allocations: 1.643 MB / 431.7 MB, free: 33.91 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.005957/0.1928, allocations: 7.919 MB / 439.6 MB, free: 28.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008765/0.1937, allocations: 1.054 MB / 440.6 MB, free: 27.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.194, allocations: 466.5 kB / 441.1 MB, free: 27.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003938/0.198, allocations: 4.064 MB / 445.2 MB, free: 23.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.198, allocations: 53.67 kB / 445.2 MB, free: 23.42 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004065/0.1984, allocations: 209.5 kB / 445.4 MB, free: 23.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.216e-06/0.1984, allocations: 0 / 445.4 MB, free: 23.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01367/0.2121, allocations: 6.745 MB / 452.2 MB, free: 16.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.2121, allocations: 124.1 kB / 452.3 MB, free: 16.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.2127, allocations: 1.125 MB / 453.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.2127, allocations: 56.36 kB / 453.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.213, allocations: 1.149 MB / 454.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.2133, allocations: 0.6008 MB / 455.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.2136, allocations: 483.1 kB / 455.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.098e-05/0.2136, allocations: 476.8 kB / 456.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.214, allocations: 356.5 kB / 456.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.2146, allocations: 1.582 MB / 458.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2159, allocations: 2.193 MB / 460.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2159, allocations: 11.47 kB / 460.3 MB, free: 7.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003225/0.2191, allocations: 2.397 MB / 462.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2191, allocations: 16 kB / 462.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.2191, allocations: 28 kB / 462.7 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.2217, allocations: 1.032 MB / 463.8 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.2225, allocations: 0.5136 MB / 464.3 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.2269, allocations: 7.903 MB / 472.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/0.2276, allocations: 102.5 kB / 472.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.2278, allocations: 120 kB / 472.4 MB, free: 11.89 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.0006399/0.2284, allocations: 328.6 kB / 472.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.2287, allocations: 210.5 kB / 472.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.2319, allocations: 1.962 MB / 474.9 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2319, allocations: 16 kB / 474.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.232, allocations: 4 kB / 474.9 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.232, allocations: 7.969 kB / 474.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.2367, allocations: 3.167 MB / 478.1 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2367, allocations: 6.688 kB / 478.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.2372, allocations: 260.2 kB / 478.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.2398, allocations: 0.9227 MB / 479.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-05/0.2398, allocations: 59.95 kB / 479.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004319/0.2442, allocations: 7.309 MB / 486.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2442, allocations: 4 kB / 486.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/0.2479, allocations: 2.471 MB / 489.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.248, allocations: 131 kB / 489.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.2481, allocations: 39.94 kB / 489.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.2486, allocations: 32 kB / 489.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.2488, allocations: 153 kB / 489.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/0.2489, allocations: 63.95 kB / 489.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003886/0.2493, allocations: 0.5887 MB / 490.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2493, allocations: 2.688 kB / 490.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001929/0.2512, allocations: 0.9076 MB / 491 MB, free: 9.344 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.0009405/0.2521, allocations: 0.8326 MB / 491.8 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.2542, allocations: 2.021 MB / 493.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2542, allocations: 4 kB / 493.9 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2553, allocations: 1.194 MB / 495.1 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.2563, allocations: 322.2 kB / 495.4 MB, free: 5.207 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.003876/0.2602, allocations: 3.293 MB / 498.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2605, allocations: 351.1 kB / 499 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007216/0.2612, allocations: 360.2 kB / 499.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/0.2618, allocations: 497.9 kB / 499.9 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2618, allocations: 0 / 499.9 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of Templates: time 0.04072/0.3025, allocations: 40.26 MB / 0.5275 GB, free: 9.582 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.7142593511380255]