Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.000876/0.000876, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000923/0.000923, allocations: 177 kB / 23.36 MB, free: 1.133 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.9947/0.9947, allocations: 177.1 MB / 203.8 MB, free: 5.43 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.08808/0.08808, allocations: 17.46 MB / 277.7 MB, free: 11.39 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.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 300.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.122e-05, allocations: 6.031 kB / 300.8 MB, free: 1.66 MB / 266.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.ElectrochemicalAcetateProduction): time 0.05273/0.05275, allocations: 39.14 MB / 339.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02298/0.07574, allocations: 16.51 MB / 356.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.07732, allocations: 31.75 kB / 356.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.07846, allocations: 460 kB / 356.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.08244, allocations: 1.632 MB / 358.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004799/0.08724, allocations: 2.35 MB / 360.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.08926, allocations: 2.791 MB / 363.7 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.09085, allocations: 1.49 MB / 365.2 MB, free: 3.684 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.09238, allocations: 1.88 MB / 367.1 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.09363, allocations: 1.212 MB / 368.3 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.09398, allocations: 260 kB / 368.5 MB, free: 340 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.09673, allocations: 1.751 MB / 370.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.09708, allocations: 0.6308 MB / 370.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007761/0.09786, allocations: 0.9316 MB / 371.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.1014, allocations: 3.903 MB / 375.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1014, allocations: 0 / 375.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1014, allocations: 8 kB / 375.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.682e-05/0.1015, allocations: 7.875 kB / 375.7 MB, free: 9.078 MB / 346.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.002749/0.1042, allocations: 2.745 MB / 378.5 MB, free: 6.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1043, allocations: 12.03 kB / 378.5 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.1056, allocations: 0.7834 MB / 379.3 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/0.1065, allocations: 0.8241 MB / 380.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1066, allocations: 271.7 kB / 380.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.1068, allocations: 228.2 kB / 380.6 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.1084, allocations: 1.9 MB / 382.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.1085, allocations: 0 / 382.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.1086, allocations: 92 kB / 382.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.1086, allocations: 52 kB / 382.6 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.1101, allocations: 1.451 MB / 384.1 MB, free: 0.4961 MB / 346.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.006144/0.1163, allocations: 6.115 MB / 390.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.1172, allocations: 1.008 MB / 391.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.1176, allocations: 402.3 kB / 391.6 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004231/0.1218, allocations: 3.385 MB / 395 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1219, allocations: 47.56 kB / 395 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004236/0.1223, allocations: 218.8 kB / 395.3 MB, free: 5.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=113): time 2.405e-06/0.1223, allocations: 0 / 395.3 MB, free: 5.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=161): time 0.01616/0.1384, allocations: 7.084 MB / 402.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1385, allocations: 128.1 kB / 402.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.1392, allocations: 1.054 MB / 403.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.1392, allocations: 57.7 kB / 403.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.1396, allocations: 0.9808 MB / 404.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.1399, allocations: 0.5848 MB / 405.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/0.1403, allocations: 468.4 kB / 405.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.1404, allocations: 301.1 kB / 405.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.1408, allocations: 316.1 kB / 406.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/0.1417, allocations: 1.173 MB / 407.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.1432, allocations: 1.814 MB / 409.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.1433, allocations: 8 kB / 409.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003073/0.1463, allocations: 1.929 MB / 411.1 MB, free: 4.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1464, allocations: 24.09 kB / 411.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.1464, allocations: 28 kB / 411.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/0.1491, allocations: 1.028 MB / 412.2 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.1502, allocations: 0.5499 MB / 412.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/0.1548, allocations: 5.7 MB / 418.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/0.1555, allocations: 99.86 kB / 418.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.1556, allocations: 116 kB / 418.7 MB, free: 12.41 MB / 394.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.0003585/0.156, allocations: 279.8 kB / 418.9 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.1562, allocations: 139.8 kB / 419.1 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.1591, allocations: 1.665 MB / 420.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1592, allocations: 19.94 kB / 420.8 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1592, allocations: 4 kB / 420.8 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1592, allocations: 11.97 kB / 420.8 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.1637, allocations: 2.508 MB / 423.3 MB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1638, allocations: 4 kB / 423.3 MB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.1644, allocations: 291.6 kB / 423.6 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/0.1669, allocations: 0.9138 MB / 424.5 MB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.1669, allocations: 59.97 kB / 424.5 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003735/0.1707, allocations: 5.11 MB / 429.7 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1707, allocations: 4 kB / 429.7 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.1736, allocations: 2.015 MB / 431.7 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1738, allocations: 135 kB / 431.8 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.1739, allocations: 32 kB / 431.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.1743, allocations: 40 kB / 431.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.1746, allocations: 160.9 kB / 432 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.1746, allocations: 51.97 kB / 432.1 MB, free: 14.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003658/0.175, allocations: 497.2 kB / 432.6 MB, free: 14.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.175, allocations: 0 / 432.6 MB, free: 14.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001866/0.1769, allocations: 0.9045 MB / 433.5 MB, free: 13.13 MB / 410.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.0009912/0.1779, allocations: 0.8259 MB / 434.3 MB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.18, allocations: 1.722 MB / 436 MB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.539e-05/0.1801, allocations: 31.78 kB / 436 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009347/0.181, allocations: 0.9611 MB / 437 MB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.1818, allocations: 320.2 kB / 437.3 MB, free: 9.184 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.1855, allocations: 3.218 MB / 440.5 MB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1857, allocations: 339.2 kB / 440.9 MB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007451/0.1865, allocations: 352 kB / 441.2 MB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006622/0.1871, allocations: 460.9 kB / 441.7 MB, free: 4.734 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1871, allocations: 3.938 kB / 441.7 MB, free: 4.73 MB / 410.7 MB Notification: Performance of Templates: time 0.1447/0.3318, allocations: 40.17 MB / 481.8 MB, free: 91.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.882267429959029]