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.0008254/0.0008254, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009122/0.0009122, allocations: 173 kB / 23.49 MB, free: 1.051 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.9304/0.9304, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.103/0.103, allocations: 17.37 MB / 277.7 MB, free: 11.68 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.593e-06/1.593e-06, allocations: 0 / 353.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.141e-05, allocations: 2.312 kB / 353.5 MB, free: 10.29 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.02772/0.02774, allocations: 33.7 MB / 387.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1588/0.1865, allocations: 25.02 MB / 412.2 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.188, allocations: 33.47 kB / 412.2 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1893, allocations: 0.5543 MB / 412.8 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.1936, allocations: 1.914 MB / 414.7 MB, free: 33.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00705/0.2006, allocations: 3.579 MB / 418.3 MB, free: 32.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.2041, allocations: 2.793 MB / 421.1 MB, free: 32.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.2059, allocations: 1.478 MB / 422.5 MB, free: 31.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.2083, allocations: 1.822 MB / 424.4 MB, free: 31.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.2101, allocations: 1.181 MB / 425.5 MB, free: 31.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006491/0.2107, allocations: 264.4 kB / 425.8 MB, free: 31.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005905/0.2166, allocations: 2.588 MB / 428.4 MB, free: 31.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.2172, allocations: 0.6248 MB / 429 MB, free: 30.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.2184, allocations: 0.9294 MB / 429.9 MB, free: 30.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009711/0.2282, allocations: 4.99 MB / 434.9 MB, free: 28.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2282, allocations: 0 / 434.9 MB, free: 28.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2282, allocations: 0 / 434.9 MB, free: 28.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.2283, allocations: 0 / 434.9 MB, free: 28.45 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.00411/0.2324, allocations: 3.068 MB / 438 MB, free: 26.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2324, allocations: 11.69 kB / 438 MB, free: 26.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.2342, allocations: 0.8909 MB / 438.9 MB, free: 25.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.2357, allocations: 1.244 MB / 440.1 MB, free: 25.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.2358, allocations: 271.1 kB / 440.4 MB, free: 24.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.236, allocations: 218.5 kB / 440.6 MB, free: 24.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.2383, allocations: 2.097 MB / 442.7 MB, free: 23.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.2383, allocations: 4 kB / 442.7 MB, free: 23.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.2384, allocations: 87.94 kB / 442.8 MB, free: 23.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.2385, allocations: 56 kB / 442.9 MB, free: 23.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.2407, allocations: 1.937 MB / 444.8 MB, free: 21.38 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.006997/0.2477, allocations: 7.888 MB / 452.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.249, allocations: 1.152 MB / 453.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.2496, allocations: 0.5406 MB / 454.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005012/0.2546, allocations: 4.148 MB / 458.5 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2546, allocations: 49.39 kB / 458.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006011/0.2552, allocations: 223.6 kB / 458.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.16e-06/0.2552, allocations: 2.625 kB / 458.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01659/0.2718, allocations: 7.956 MB / 466.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.2719, allocations: 124.1 kB / 466.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2729, allocations: 1.148 MB / 468 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.273, allocations: 49.7 kB / 468.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/0.2736, allocations: 1.147 MB / 469.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.274, allocations: 0.5791 MB / 469.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.2744, allocations: 478.8 kB / 470.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.2745, allocations: 484.7 kB / 470.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007285/0.2753, allocations: 456.5 kB / 471.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.2766, allocations: 1.674 MB / 472.9 MB, free: 8.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.2788, allocations: 2.359 MB / 475.2 MB, free: 6.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.2788, allocations: 10.62 kB / 475.2 MB, free: 6.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004488/0.2833, allocations: 2.617 MB / 477.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.2833, allocations: 19.98 kB / 477.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.2833, allocations: 28 kB / 477.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/0.2864, allocations: 1.044 MB / 478.9 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.2874, allocations: 0.5123 MB / 479.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005895/0.2933, allocations: 8.062 MB / 487.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2946, allocations: 106.5 kB / 487.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.2947, allocations: 140 kB / 487.7 MB, free: 9.582 MB / 362.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.000579/0.2953, allocations: 317.1 kB / 488.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.2957, allocations: 207 kB / 488.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.2996, allocations: 2.14 MB / 490.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.2996, allocations: 16 kB / 490.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2996, allocations: 4 kB / 490.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.2996, allocations: 7.969 kB / 490.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/0.3054, allocations: 3.555 MB / 494 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3054, allocations: 4 kB / 494 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.3059, allocations: 262.5 kB / 494.2 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002862/0.3088, allocations: 0.9277 MB / 495.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.3089, allocations: 63.95 kB / 495.2 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005049/0.314, allocations: 7.429 MB / 0.4909 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.314, allocations: 0 / 0.4909 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.3185, allocations: 2.71 MB / 0.4935 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.3188, allocations: 131 kB / 0.4936 GB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.319, allocations: 34.62 kB / 0.4937 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.3195, allocations: 42.64 kB / 0.4937 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.3197, allocations: 160 kB / 0.4939 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.622e-05/0.3198, allocations: 71.95 kB / 0.4939 GB, free: 7.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005896/0.3204, allocations: 0.6352 MB / 0.4946 GB, free: 6.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3204, allocations: 0 / 0.4946 GB, free: 6.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002746/0.3232, allocations: 1.107 MB / 0.4956 GB, free: 5.539 MB / 378.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.002111/0.3253, allocations: 1.205 MB / 0.4968 GB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.3286, allocations: 2.195 MB / 0.499 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3286, allocations: 0 / 0.499 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.3301, allocations: 1.266 MB / 0.5002 GB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3312, allocations: 319.9 kB / 0.5005 GB, free: 0.75 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.3365, allocations: 3.344 MB / 0.5038 GB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3368, allocations: 349.8 kB / 0.5041 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009762/0.3378, allocations: 380.1 kB / 0.5045 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.3382, allocations: 227 kB / 0.5047 GB, free: 12.56 MB / 394.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3382, allocations: 0 / 0.5047 GB, free: 12.56 MB / 394.7 MB Notification: Performance of Templates: time 0.0441/0.3823, allocations: 41.38 MB / 0.5451 GB, free: 3.953 MB / 426.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: 4.139890247024596]