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.001667/0.001667, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001955/0.001955, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1474/0.1474, allocations: 17.36 MB / 276.9 MB, free: 11.69 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.673e-06/1.673e-06, allocations: 0 / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.917e-05, allocations: 4.984 kB / 352.7 MB, free: 10.3 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.04761/0.04764, allocations: 31.42 MB / 384.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03948/0.08712, allocations: 25.01 MB / 409.2 MB, free: 1.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.08864, allocations: 35.75 kB / 409.2 MB, free: 1.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.09036, allocations: 0.5696 MB / 409.8 MB, free: 1.293 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1541/0.2444, allocations: 1.898 MB / 411.7 MB, free: 33.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.255, allocations: 3.585 MB / 415.2 MB, free: 32.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00545/0.2604, allocations: 2.798 MB / 418 MB, free: 32.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.2625, allocations: 1.47 MB / 419.5 MB, free: 32.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.2647, allocations: 1.821 MB / 421.3 MB, free: 32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.2664, allocations: 1.189 MB / 422.5 MB, free: 31.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004853/0.2669, allocations: 263.4 kB / 422.8 MB, free: 31.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007682/0.2746, allocations: 2.582 MB / 425.4 MB, free: 31.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004966/0.2751, allocations: 0.6214 MB / 426 MB, free: 31.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.2762, allocations: 0.935 MB / 426.9 MB, free: 31.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.2866, allocations: 6.025 MB / 432.9 MB, free: 28.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2866, allocations: 2.906 kB / 432.9 MB, free: 28.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2866, allocations: 0 / 432.9 MB, free: 28.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.151e-05/0.2867, allocations: 1.594 kB / 432.9 MB, free: 28.77 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.005122/0.2918, allocations: 3.209 MB / 436.2 MB, free: 26.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2918, allocations: 9.531 kB / 436.2 MB, free: 26.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.294, allocations: 0.8823 MB / 437 MB, free: 26.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.296, allocations: 1.251 MB / 438.3 MB, free: 25.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.2962, allocations: 270.8 kB / 438.6 MB, free: 25.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.2965, allocations: 219 kB / 438.8 MB, free: 25.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/0.3, allocations: 2.682 MB / 441.5 MB, free: 23.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/0.3001, allocations: 2.031 kB / 441.5 MB, free: 23.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.3003, allocations: 94.88 kB / 441.5 MB, free: 23.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.3003, allocations: 51.91 kB / 441.6 MB, free: 23.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/0.304, allocations: 2.825 MB / 444.4 MB, free: 20.53 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.01182/0.3158, allocations: 9.033 MB / 453.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.3177, allocations: 1.392 MB / 454.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009697/0.3186, allocations: 0.767 MB / 455.6 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008412/0.327, allocations: 4.634 MB / 460.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3271, allocations: 53.08 kB / 460.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009277/0.328, allocations: 220.4 kB / 460.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.857e-06/0.328, allocations: 0 / 460.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.03545/0.3635, allocations: 9.247 MB / 469.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3636, allocations: 123.9 kB / 469.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.3657, allocations: 1.428 MB / 471.3 MB, free: 9.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.3659, allocations: 53.7 kB / 471.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.367, allocations: 1.195 MB / 472.6 MB, free: 8.535 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007141/0.3677, allocations: 0.6132 MB / 473.2 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009112/0.3686, allocations: 0.5322 MB / 473.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005324/0.3691, allocations: 480.7 kB / 474.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.3707, allocations: 0.7309 MB / 474.9 MB, free: 6.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.3736, allocations: 2.022 MB / 476.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.3783, allocations: 3.077 MB / 480 MB, free: 168 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/0.3783, allocations: 8 kB / 480 MB, free: 160 kB / 346.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009745/0.3881, allocations: 3.351 MB / 483.4 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.3881, allocations: 18.5 kB / 483.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/0.3882, allocations: 32 kB / 483.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007064/0.3952, allocations: 1.269 MB / 484.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.3972, allocations: 0.5191 MB / 485.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.4103, allocations: 9.149 MB / 494.4 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.4124, allocations: 106.5 kB / 494.5 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/0.4127, allocations: 140 kB / 494.6 MB, free: 1.516 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.001009/0.4137, allocations: 485.6 kB / 495.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008125/0.4145, allocations: 207 kB / 495.3 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008822/0.4233, allocations: 2.73 MB / 498 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.4233, allocations: 16 kB / 498 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.4234, allocations: 4 kB / 498 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/0.4234, allocations: 11.97 kB / 498 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.437, allocations: 4.641 MB / 0.4909 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4371, allocations: 0 / 0.4909 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.4383, allocations: 258.3 kB / 0.4911 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006621/0.4449, allocations: 1.136 MB / 0.4922 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/0.4452, allocations: 66.56 kB / 0.4923 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.4571, allocations: 8.367 MB / 0.5005 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4571, allocations: 4 kB / 0.5005 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.4672, allocations: 3.718 MB / 0.5041 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.4677, allocations: 135 kB / 0.5042 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.468, allocations: 28 kB / 0.5043 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.469, allocations: 46.64 kB / 0.5043 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/0.4694, allocations: 162.8 kB / 0.5045 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.4696, allocations: 67.97 kB / 0.5045 GB, free: 11.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001539/0.4711, allocations: 0.7837 MB / 0.5053 GB, free: 10.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4711, allocations: 4 kB / 0.5053 GB, free: 10.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003884/0.475, allocations: 1.107 MB / 0.5064 GB, free: 9.312 MB / 394.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.00251/0.4775, allocations: 1.193 MB / 0.5075 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006075/0.4836, allocations: 2.772 MB / 0.5103 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4836, allocations: 2.688 kB / 0.5103 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003021/0.4866, allocations: 1.522 MB / 0.5117 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.4885, allocations: 326.7 kB / 0.5121 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/0.4963, allocations: 3.628 MB / 0.5156 GB, free: 144 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.4974, allocations: 0.8175 MB / 0.5164 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001357/0.4988, allocations: 375.9 kB / 0.5168 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/0.4994, allocations: 227.1 kB / 0.517 GB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/0.4994, allocations: 0 / 0.517 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Templates: time 0.07603/0.5754, allocations: 41.35 MB / 0.5574 GB, free: 6.211 MB / 442.7 MB " [Timeout remaining time 659] 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: 6.955665084067732]