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.001451/0.001451, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.001809/0.001809, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9923/0.9923, allocations: 177.1 MB / 204.5 MB, free: 5.121 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.1062/0.1062, allocations: 17.46 MB / 278.5 MB, free: 11.27 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.794e-06/1.794e-06, allocations: 0 / 354.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.507e-05, allocations: 2.312 kB / 354.8 MB, free: 10.6 MB / 330.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.03656/0.03659, allocations: 33.25 MB / 388 MB, free: 9.414 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.05248, allocations: 16.23 MB / 404.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.05392, allocations: 35.75 kB / 404.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.05492, allocations: 448.2 kB / 404.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.05851, allocations: 1.66 MB / 406.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.06296, allocations: 2.354 MB / 408.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.06578, allocations: 2.795 MB / 411.6 MB, free: 1.801 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.06738, allocations: 1.478 MB / 413 MB, free: 280 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.06942, allocations: 1.88 MB / 414.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.07085, allocations: 1.216 MB / 416.1 MB, free: 13.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.07118, allocations: 260 kB / 416.4 MB, free: 12.92 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.07469, allocations: 1.704 MB / 418.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.07511, allocations: 0.6309 MB / 418.7 MB, free: 10.58 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00094/0.07605, allocations: 0.9355 MB / 419.7 MB, free: 9.641 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007151/0.0832, allocations: 3.907 MB / 423.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.08321, allocations: 0 / 423.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.08321, allocations: 0 / 423.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.08324, allocations: 0 / 423.6 MB, free: 5.719 MB / 394.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.003395/0.08664, allocations: 2.916 MB / 426.5 MB, free: 2.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.08667, allocations: 8.031 kB / 426.5 MB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.08812, allocations: 0.8364 MB / 427.3 MB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.08951, allocations: 1.057 MB / 428.4 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.08964, allocations: 271.7 kB / 428.6 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.08986, allocations: 220.3 kB / 428.9 MB, free: 312 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.09191, allocations: 1.915 MB / 430.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.09195, allocations: 0 / 430.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.09212, allocations: 91.98 kB / 430.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.09215, allocations: 56 kB / 430.9 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.09391, allocations: 1.649 MB / 432.6 MB, free: 12.45 MB / 410.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.008025/0.1019, allocations: 7.913 MB / 440.5 MB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.103, allocations: 1.048 MB / 441.5 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/0.1035, allocations: 479.9 kB / 442 MB, free: 2.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1567/0.2602, allocations: 3.981 MB / 446 MB, free: 94.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2602, allocations: 50.58 kB / 446 MB, free: 94.77 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006216/0.2608, allocations: 221.6 kB / 446.2 MB, free: 94.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=113): time 5.71e-06/0.2608, allocations: 0 / 446.2 MB, free: 94.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=161): time 0.01552/0.2764, allocations: 6.747 MB / 453 MB, free: 94.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2764, allocations: 122.4 kB / 453.1 MB, free: 94.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/0.2772, allocations: 1.119 MB / 454.2 MB, free: 94.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.131e-05/0.2773, allocations: 56.17 kB / 454.3 MB, free: 93.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.2778, allocations: 1.157 MB / 455.4 MB, free: 93.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.2782, allocations: 0.5901 MB / 456 MB, free: 93.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.2786, allocations: 487.5 kB / 456.5 MB, free: 93.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2786, allocations: 483.7 kB / 457 MB, free: 92.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.2791, allocations: 355.3 kB / 457.3 MB, free: 92.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008374/0.2799, allocations: 1.584 MB / 458.9 MB, free: 91.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.2814, allocations: 2.19 MB / 461.1 MB, free: 89.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.2815, allocations: 9.656 kB / 461.1 MB, free: 89.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003838/0.2853, allocations: 2.388 MB / 463.5 MB, free: 89.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.2853, allocations: 19.19 kB / 463.5 MB, free: 89.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/0.2854, allocations: 25.53 kB / 463.5 MB, free: 89.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.2883, allocations: 1.034 MB / 464.6 MB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/0.2892, allocations: 0.5102 MB / 465.1 MB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/0.2936, allocations: 7.903 MB / 473 MB, free: 82.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.2947, allocations: 101 kB / 473.1 MB, free: 82.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.2949, allocations: 131.3 kB / 473.2 MB, free: 82.55 MB / 410.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.0005058/0.2954, allocations: 320.9 kB / 473.5 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.2957, allocations: 207.5 kB / 473.7 MB, free: 82.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.2989, allocations: 1.967 MB / 475.7 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.2989, allocations: 14.97 kB / 475.7 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2989, allocations: 5.812 kB / 475.7 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.2989, allocations: 13.17 kB / 475.7 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.3037, allocations: 3.15 MB / 478.9 MB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3037, allocations: 6.594 kB / 478.9 MB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.3043, allocations: 256.2 kB / 479.1 MB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.3069, allocations: 0.9198 MB / 480.1 MB, free: 81.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-05/0.307, allocations: 67.41 kB / 480.1 MB, free: 81.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/0.3107, allocations: 7.295 MB / 487.4 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3107, allocations: 6.188 kB / 487.4 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.3145, allocations: 2.459 MB / 489.9 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.3147, allocations: 136 kB / 490 MB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.3149, allocations: 37.28 kB / 490.1 MB, free: 74.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.3154, allocations: 40.41 kB / 490.1 MB, free: 74.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.3156, allocations: 156 kB / 490.2 MB, free: 74.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-05/0.3157, allocations: 60.53 kB / 490.3 MB, free: 74.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004532/0.3162, allocations: 0.5922 MB / 490.9 MB, free: 73.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3162, allocations: 0 / 490.9 MB, free: 73.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002235/0.3184, allocations: 0.9031 MB / 491.8 MB, free: 73.78 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.001031/0.3194, allocations: 0.8327 MB / 492.6 MB, free: 73.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.3216, allocations: 2.023 MB / 494.7 MB, free: 72.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3216, allocations: 3.188 kB / 494.7 MB, free: 72.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3226, allocations: 1.19 MB / 495.9 MB, free: 72.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.3235, allocations: 328.3 kB / 496.2 MB, free: 72.14 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.003972/0.3275, allocations: 3.299 MB / 499.5 MB, free: 70.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3278, allocations: 351.4 kB / 499.8 MB, free: 70.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008167/0.3286, allocations: 360.2 kB / 0.4884 GB, free: 70.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006683/0.3292, allocations: 0.4952 MB / 0.4889 GB, free: 70.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3292, allocations: 0 / 0.4889 GB, free: 70.25 MB / 410.7 MB Notification: Performance of Templates: time 0.03771/0.3669, allocations: 40.91 MB / 0.5289 GB, free: 39.41 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: 4.376724200323224]