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.001112/0.001112, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009966/0.0009966, allocations: 173 kB / 23.02 MB, free: 1.547 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.9199/0.9199, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.08851/0.08851, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.493e-06/1.493e-06, allocations: 0 / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.579e-05, allocations: 2.312 kB / 353.5 MB, free: 9.969 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.0268/0.02681, allocations: 33.42 MB / 386.9 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.04121, allocations: 16.57 MB / 403.4 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008875/0.0421, allocations: 35.75 kB / 403.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.04291, allocations: 448.2 kB / 403.9 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.04554, allocations: 1.66 MB / 405.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.04937, allocations: 2.35 MB / 407.9 MB, free: 3.512 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.05145, allocations: 2.807 MB / 410.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.153/0.2045, allocations: 1.463 MB / 412.2 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005439/0.2099, allocations: 1.887 MB / 414.1 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.212, allocations: 1.213 MB / 415.3 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003622/0.2156, allocations: 261.8 kB / 415.5 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007088/0.2227, allocations: 1.7 MB / 417.2 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005038/0.2232, allocations: 0.6262 MB / 417.9 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004349/0.2275, allocations: 0.9337 MB / 418.8 MB, free: 36.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008053/0.2356, allocations: 3.912 MB / 422.7 MB, free: 36.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2356, allocations: 0 / 422.7 MB, free: 36.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2356, allocations: 3.938 kB / 422.7 MB, free: 36.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.2356, allocations: 0 / 422.7 MB, free: 36.54 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.006371/0.242, allocations: 2.905 MB / 425.6 MB, free: 35.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.242, allocations: 9.906 kB / 425.6 MB, free: 35.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/0.2467, allocations: 0.8297 MB / 426.5 MB, free: 34.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.2479, allocations: 1.08 MB / 427.6 MB, free: 34.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.2481, allocations: 271.3 kB / 427.8 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/0.2509, allocations: 222.8 kB / 428 MB, free: 34.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.2535, allocations: 2.09 MB / 430.1 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.2536, allocations: 3.375 kB / 430.1 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.2538, allocations: 90.34 kB / 430.2 MB, free: 33.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.2538, allocations: 55.5 kB / 430.3 MB, free: 33.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.2559, allocations: 1.933 MB / 432.2 MB, free: 33.26 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.006305/0.2622, allocations: 7.896 MB / 440.1 MB, free: 27.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2633, allocations: 1.157 MB / 441.3 MB, free: 26.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.2639, allocations: 0.5443 MB / 441.8 MB, free: 26.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003957/0.2678, allocations: 4.017 MB / 445.8 MB, free: 22.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2678, allocations: 54.38 kB / 445.9 MB, free: 22.37 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003936/0.2682, allocations: 223.6 kB / 446.1 MB, free: 22.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.327e-06/0.2682, allocations: 0 / 446.1 MB, free: 22.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01482/0.2831, allocations: 7.942 MB / 454 MB, free: 14.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.2831, allocations: 124.1 kB / 454.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.2838, allocations: 1.144 MB / 455.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.2839, allocations: 57.64 kB / 455.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.2842, allocations: 1.151 MB / 456.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.2844, allocations: 0.5856 MB / 457.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.2848, allocations: 478.8 kB / 457.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.2848, allocations: 476.8 kB / 458 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.2854, allocations: 456.5 kB / 458.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008338/0.2862, allocations: 1.674 MB / 460.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.2879, allocations: 2.363 MB / 462.5 MB, free: 4.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.2879, allocations: 10.69 kB / 462.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003665/0.2916, allocations: 2.624 MB / 465.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2916, allocations: 16.62 kB / 465.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2916, allocations: 28 kB / 465.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.2943, allocations: 1.052 MB / 466.2 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.2951, allocations: 0.5049 MB / 466.7 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.3004, allocations: 8.057 MB / 474.8 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.3011, allocations: 102.5 kB / 474.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.3013, allocations: 140.1 kB / 475 MB, free: 8.293 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.0003909/0.3017, allocations: 321 kB / 475.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.3019, allocations: 211 kB / 475.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.3055, allocations: 2.131 MB / 477.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3055, allocations: 16 kB / 477.7 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3055, allocations: 4 kB / 477.7 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3055, allocations: 7.969 kB / 477.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.3106, allocations: 3.546 MB / 481.3 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.3106, allocations: 10.61 kB / 481.3 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/0.3112, allocations: 260.2 kB / 481.5 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/0.3137, allocations: 0.9318 MB / 482.5 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.3138, allocations: 55.97 kB / 482.5 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/0.3184, allocations: 7.432 MB / 489.9 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3184, allocations: 6.688 kB / 489.9 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/0.3224, allocations: 2.71 MB / 492.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.3226, allocations: 141.5 kB / 492.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.3227, allocations: 39.98 kB / 492.8 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.3232, allocations: 36 kB / 492.9 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.3234, allocations: 157 kB / 493 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.3235, allocations: 67.97 kB / 493.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005611/0.3241, allocations: 0.6352 MB / 493.7 MB, free: 5.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3241, allocations: 6.031 kB / 493.7 MB, free: 5.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002098/0.3262, allocations: 0.9046 MB / 494.6 MB, free: 4.449 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.001052/0.3272, allocations: 0.79 MB / 495.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.3298, allocations: 2.195 MB / 497.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3298, allocations: 0 / 497.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.331, allocations: 1.272 MB / 498.9 MB, free: 348 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.3318, allocations: 313.4 kB / 499.2 MB, free: 60 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.004125/0.336, allocations: 3.349 MB / 0.4908 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3362, allocations: 349.8 kB / 0.4911 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007073/0.3369, allocations: 370.1 kB / 0.4915 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.3373, allocations: 232.3 kB / 0.4917 GB, free: 11.87 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3373, allocations: 0 / 0.4917 GB, free: 11.87 MB / 378.7 MB Notification: Performance of Templates: time 0.03946/0.3767, allocations: 39.69 MB / 0.5304 GB, free: 5.242 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.104142148047686]