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.0009139/0.0009139, allocations: 93.06 kB / 19.65 MB, free: 280 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.001085/0.001085, allocations: 169 kB / 23.02 MB, free: 1.551 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.9868/0.9868, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.09211/0.09211, allocations: 17.37 MB / 277.3 MB, free: 11.65 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.393e-06/1.393e-06, allocations: 0 / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.252e-05, allocations: 2.312 kB / 353.4 MB, free: 9.973 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.02875/0.02878, allocations: 33.42 MB / 386.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.04418, allocations: 16.58 MB / 403.4 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.04569, allocations: 35.75 kB / 403.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.04683, allocations: 448.2 kB / 403.9 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.05056, allocations: 1.656 MB / 405.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00486/0.05542, allocations: 2.358 MB / 407.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.0583, allocations: 2.799 MB / 410.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1411/0.1994, allocations: 1.467 MB / 412.2 MB, free: 36.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.2022, allocations: 1.821 MB / 414 MB, free: 36.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.2044, allocations: 1.181 MB / 415.2 MB, free: 36.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006908/0.2051, allocations: 265.1 kB / 415.4 MB, free: 36.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.2093, allocations: 1.706 MB / 417.2 MB, free: 36.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006438/0.2099, allocations: 0.6205 MB / 417.8 MB, free: 36.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.2115, allocations: 0.9315 MB / 418.7 MB, free: 36.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007738/0.2193, allocations: 3.861 MB / 422.6 MB, free: 36.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2193, allocations: 0 / 422.6 MB, free: 36.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2193, allocations: 0 / 422.6 MB, free: 36.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.983e-05/0.2194, allocations: 0 / 422.6 MB, free: 36.51 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.0039/0.2233, allocations: 2.889 MB / 425.5 MB, free: 35.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2233, allocations: 6.812 kB / 425.5 MB, free: 35.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.2249, allocations: 0.888 MB / 426.3 MB, free: 34.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.2264, allocations: 1.235 MB / 427.6 MB, free: 34.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.2265, allocations: 272.5 kB / 427.8 MB, free: 34.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.2268, allocations: 218.5 kB / 428.1 MB, free: 34.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.2292, allocations: 2.094 MB / 430.2 MB, free: 33.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.2292, allocations: 0 / 430.2 MB, free: 33.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.2294, allocations: 97.41 kB / 430.3 MB, free: 33.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.2294, allocations: 53.16 kB / 430.3 MB, free: 33.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.2319, allocations: 1.933 MB / 432.2 MB, free: 33.14 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.007194/0.2391, allocations: 7.874 MB / 440.1 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.2403, allocations: 1.159 MB / 441.3 MB, free: 26.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.2409, allocations: 0.5417 MB / 441.8 MB, free: 26.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00446/0.2453, allocations: 4.015 MB / 445.8 MB, free: 22.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2454, allocations: 53.86 kB / 445.9 MB, free: 22.34 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004763/0.2458, allocations: 217.5 kB / 446.1 MB, free: 22.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.897e-06/0.2458, allocations: 0 / 446.1 MB, free: 22.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01638/0.2622, allocations: 7.947 MB / 454 MB, free: 14.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.2623, allocations: 123.5 kB / 454.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.2631, allocations: 1.151 MB / 455.3 MB, free: 13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.2632, allocations: 53.7 kB / 455.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.2635, allocations: 1.142 MB / 456.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.2638, allocations: 0.5861 MB / 457.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.2642, allocations: 478.8 kB / 457.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.607e-05/0.2642, allocations: 480.8 kB / 458 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.2648, allocations: 456.5 kB / 458.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008907/0.2657, allocations: 1.673 MB / 460.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.2675, allocations: 2.363 MB / 462.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.2675, allocations: 8 kB / 462.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004229/0.2717, allocations: 2.62 MB / 465.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.2718, allocations: 18.5 kB / 465.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.2718, allocations: 30.66 kB / 465.2 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/0.2748, allocations: 1.051 MB / 466.2 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/0.2757, allocations: 0.5099 MB / 466.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00621/0.282, allocations: 8.059 MB / 474.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.2832, allocations: 102.5 kB / 474.9 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.2834, allocations: 146.6 kB / 475 MB, free: 8.254 MB / 346.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.0006177/0.284, allocations: 311.1 kB / 475.4 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.2844, allocations: 207 kB / 475.6 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.2883, allocations: 2.131 MB / 477.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.2883, allocations: 20 kB / 477.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2883, allocations: 3.469 kB / 477.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.2884, allocations: 14.62 kB / 477.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.2943, allocations: 3.541 MB / 481.3 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2943, allocations: 0 / 481.3 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.2949, allocations: 261.7 kB / 481.5 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/0.2977, allocations: 0.9368 MB / 482.5 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.2978, allocations: 59.95 kB / 482.5 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.3027, allocations: 7.426 MB / 489.9 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3027, allocations: 6.688 kB / 489.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.3071, allocations: 2.706 MB / 492.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.3074, allocations: 146.9 kB / 492.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3076, allocations: 32 kB / 492.8 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.3081, allocations: 43.98 kB / 492.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.3083, allocations: 156.4 kB / 493 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.3084, allocations: 74.61 kB / 493.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006089/0.309, allocations: 0.6313 MB / 493.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.309, allocations: 0 / 493.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002342/0.3113, allocations: 0.9046 MB / 494.6 MB, free: 4.422 MB / 362.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.00117/0.3125, allocations: 0.7942 MB / 495.4 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002902/0.3154, allocations: 2.191 MB / 497.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3154, allocations: 0 / 497.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.3167, allocations: 1.278 MB / 498.9 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.3176, allocations: 314.4 kB / 499.2 MB, free: 28 kB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.3223, allocations: 3.349 MB / 0.4908 GB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3226, allocations: 347.1 kB / 0.4911 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008376/0.3234, allocations: 372.2 kB / 0.4915 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.3238, allocations: 232.3 kB / 0.4917 GB, free: 11.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3238, allocations: 0 / 0.4917 GB, free: 11.84 MB / 378.7 MB Notification: Performance of Templates: time 0.03815/0.362, allocations: 35.97 MB / 0.5268 GB, free: 8.848 MB / 410.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.225691478233784]