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.0009544/0.0009544, allocations: 80.75 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.0009278/0.0009278, allocations: 181 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.9007/0.9007, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.07903/0.07903, allocations: 17.46 MB / 277.7 MB, free: 11.43 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.653e-06/1.653e-06, allocations: 0.6562 kB / 300.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.181e-05, allocations: 4.703 kB / 300.7 MB, free: 1.691 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.03858/0.0386, allocations: 39.1 MB / 339.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.05221, allocations: 16.49 MB / 356.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008862/0.0531, allocations: 35.75 kB / 356.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.05386, allocations: 464 kB / 356.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.05631, allocations: 1.671 MB / 358.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.05984, allocations: 2.37 MB / 360.9 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.06167, allocations: 2.788 MB / 363.6 MB, free: 5.309 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.06282, allocations: 1.497 MB / 365.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.06416, allocations: 1.887 MB / 367 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.06532, allocations: 1.212 MB / 368.2 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.06562, allocations: 260 kB / 368.5 MB, free: 392 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.06776, allocations: 1.696 MB / 370.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.06811, allocations: 0.627 MB / 370.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.06889, allocations: 0.9316 MB / 371.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.07231, allocations: 3.915 MB / 375.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.07231, allocations: 0 / 375.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07231, allocations: 0 / 375.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.07233, allocations: 3.938 kB / 375.7 MB, free: 9.188 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.002781/0.07511, allocations: 2.749 MB / 378.4 MB, free: 6.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.07514, allocations: 8.031 kB / 378.4 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.07627, allocations: 0.8029 MB / 379.2 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.07719, allocations: 0.8124 MB / 380 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.07732, allocations: 271.7 kB / 380.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.07753, allocations: 224.3 kB / 380.5 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.07907, allocations: 1.904 MB / 382.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.0791, allocations: 4 kB / 382.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.07922, allocations: 88 kB / 382.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.07925, allocations: 52 kB / 382.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.08068, allocations: 1.447 MB / 384 MB, free: 0.6016 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.00625/0.08693, allocations: 6.123 MB / 390.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008855/0.08781, allocations: 0.996 MB / 391.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.08819, allocations: 402.3 kB / 391.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004497/0.09268, allocations: 3.385 MB / 394.9 MB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.09271, allocations: 47.55 kB / 395 MB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004256/0.09314, allocations: 226.8 kB / 395.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=113): time 2.234e-06/0.09314, allocations: 0 / 395.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=161): time 0.01513/0.1083, allocations: 7.076 MB / 402.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1083, allocations: 124.1 kB / 402.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006292/0.1089, allocations: 1.054 MB / 403.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.109, allocations: 57.7 kB / 403.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.1094, allocations: 0.9809 MB / 404.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.1097, allocations: 0.5926 MB / 405.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.11, allocations: 460.4 kB / 405.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.946e-05/0.1101, allocations: 305.1 kB / 405.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.1105, allocations: 312.1 kB / 406.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/0.1114, allocations: 1.177 MB / 407.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.1127, allocations: 1.806 MB / 409.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.1127, allocations: 8 kB / 409.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002914/0.1156, allocations: 1.933 MB / 411 MB, free: 4.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1156, allocations: 23.94 kB / 411.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.1157, allocations: 32 kB / 411.1 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/0.1182, allocations: 1.028 MB / 412.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.119, allocations: 0.4992 MB / 412.6 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.1231, allocations: 5.665 MB / 418.3 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.1238, allocations: 103.9 kB / 418.4 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.1239, allocations: 116 kB / 418.5 MB, free: 12.61 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.0003359/0.1242, allocations: 275.8 kB / 418.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.1244, allocations: 139.8 kB / 418.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.1275, allocations: 1.654 MB / 420.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1275, allocations: 19.94 kB / 420.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1275, allocations: 4 kB / 420.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1275, allocations: 7.969 kB / 420.6 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/0.1315, allocations: 2.508 MB / 423.1 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1315, allocations: 4 kB / 423.1 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.132, allocations: 255.9 kB / 423.4 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.1343, allocations: 0.9104 MB / 424.3 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.1343, allocations: 59.95 kB / 424.3 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/0.1377, allocations: 5.099 MB / 429.4 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1377, allocations: 4 kB / 429.4 MB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.1406, allocations: 2.015 MB / 431.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1407, allocations: 131 kB / 431.6 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.1408, allocations: 32 kB / 431.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.1412, allocations: 43.98 kB / 431.6 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.1414, allocations: 152.9 kB / 431.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.1415, allocations: 59.95 kB / 431.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003227/0.1418, allocations: 493.2 kB / 432.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1418, allocations: 0 / 432.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001505/0.1433, allocations: 0.9046 MB / 433.2 MB, free: 13.39 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.0008436/0.1441, allocations: 0.8183 MB / 434.1 MB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.1461, allocations: 1.73 MB / 435.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.164e-05/0.1462, allocations: 23.84 kB / 435.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.147, allocations: 0.9686 MB / 436.8 MB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.1478, allocations: 308 kB / 437.1 MB, free: 9.461 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.003505/0.1513, allocations: 3.215 MB / 440.3 MB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1515, allocations: 343.1 kB / 440.6 MB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006787/0.1522, allocations: 363.6 kB / 441 MB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.1528, allocations: 460.9 kB / 441.4 MB, free: 5 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1528, allocations: 0 / 441.4 MB, free: 5 MB / 410.7 MB Notification: Performance of Templates: time 0.1451/0.2979, allocations: 40.17 MB / 481.6 MB, free: 92.43 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.707872134167701]