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.0007145/0.0007145, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001715, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006616/0.0006616, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000935/0.001597, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9371/0.9371, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07805/1.015, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08703/0.08703, allocations: 17.45 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01087/0.0979, allocations: 6.966 MB / 268.6 MB, free: 6.297 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.613e-06/1.613e-06, allocations: 0 / 269.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.93e-05, allocations: 2.312 kB / 269.9 MB, free: 4.977 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1261/0.1262, allocations: 9.72 MB / 279.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.1433, allocations: 16.63 MB / 296.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1449, allocations: 32.41 kB / 296.3 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.1463, allocations: 467.9 kB / 296.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004655/0.1509, allocations: 1.636 MB / 298.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.1568, allocations: 2.344 MB / 300.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003663/0.1605, allocations: 2.776 MB / 303.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.1619, allocations: 1.494 MB / 305 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.1636, allocations: 1.993 MB / 307 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.1649, allocations: 1.22 MB / 308.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.1652, allocations: 260 kB / 308.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.169, allocations: 1.766 MB / 310.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.1693, allocations: 454.6 kB / 310.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.1702, allocations: 0.7332 MB / 311.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005872/0.176, allocations: 3.561 MB / 314.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.176, allocations: 0 / 314.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1761, allocations: 0 / 314.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.1761, allocations: 0 / 314.9 MB, free: 5.164 MB / 298.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.003348/0.1794, allocations: 3.449 MB / 318.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1795, allocations: 12.03 kB / 318.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.1808, allocations: 0.8587 MB / 319.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1819, allocations: 0.8242 MB / 320.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.1821, allocations: 271.7 kB / 320.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.1823, allocations: 224.2 kB / 320.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.184, allocations: 1.9 MB / 322.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.1841, allocations: 3.938 kB / 322.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.1842, allocations: 92 kB / 322.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.1842, allocations: 56 kB / 322.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.1857, allocations: 1.456 MB / 324.1 MB, free: 11.78 MB / 314.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.006392/0.1921, allocations: 6.136 MB / 330.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.193, allocations: 1 MB / 331.2 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/0.1934, allocations: 410.3 kB / 331.6 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004063/0.1974, allocations: 3.279 MB / 334.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1975, allocations: 51.5 kB / 334.9 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004224/0.1979, allocations: 214.8 kB / 335.1 MB, free: 472 kB / 314.7 MB Notification: Performance of pre-optimization done (n=113): time 2.936e-06/0.1979, allocations: 0 / 335.1 MB, free: 472 kB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.01646/0.2143, allocations: 7.92 MB / 343.1 MB, free: 8.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.2144, allocations: 124.2 kB / 343.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.2151, allocations: 1.062 MB / 344.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/0.2152, allocations: 53.7 kB / 344.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.2155, allocations: 0.9808 MB / 345.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.2158, allocations: 0.5926 MB / 345.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.2162, allocations: 456.4 kB / 346.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.2163, allocations: 305.1 kB / 346.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.2166, allocations: 312 kB / 346.9 MB, free: 4.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.2174, allocations: 1.176 MB / 348.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.2187, allocations: 1.895 MB / 350 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.2188, allocations: 12 kB / 350 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.002967/0.2217, allocations: 1.936 MB / 351.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2217, allocations: 16.53 kB / 352 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.2218, allocations: 32 kB / 352 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/0.2244, allocations: 1.021 MB / 353 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2254, allocations: 0.6085 MB / 353.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/0.2296, allocations: 5.706 MB / 359.3 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.2304, allocations: 99.86 kB / 359.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.2306, allocations: 116 kB / 359.5 MB, free: 6.816 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 (269): * Single equations (assignments): 264 * 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.0003971/0.231, allocations: 271.8 kB / 359.8 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.2312, allocations: 143.8 kB / 359.9 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.2339, allocations: 1.655 MB / 361.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2339, allocations: 16 kB / 361.6 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.234, allocations: 4 kB / 361.6 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.234, allocations: 11.91 kB / 361.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.2378, allocations: 2.43 MB / 364.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2378, allocations: 8.094 kB / 364.1 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.2385, allocations: 327.8 kB / 364.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2386, allocations: 142.9 kB / 364.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/0.241, allocations: 0.9104 MB / 365.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/0.2411, allocations: 63.89 kB / 365.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.2445, allocations: 5.107 MB / 370.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2446, allocations: 7.938 kB / 370.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.2474, allocations: 1.956 MB / 372.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.2476, allocations: 36 kB / 372.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.248, allocations: 43.92 kB / 372.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.2482, allocations: 149 kB / 372.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.943e-05/0.2483, allocations: 59.95 kB / 372.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003802/0.2487, allocations: 489.2 kB / 373.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2487, allocations: 0 / 373.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2507, allocations: 0.9007 MB / 374.2 MB, free: 7.66 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 (132): * Single equations (assignments): 127 * 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.00102/0.2517, allocations: 0.8212 MB / 375 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.2538, allocations: 1.763 MB / 376.8 MB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.719e-05/0.2538, allocations: 46.48 kB / 376.9 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.2549, allocations: 1.066 MB / 377.9 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.2562, allocations: 1.85 MB / 379.8 MB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.2688, allocations: 3.324 MB / 383.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.269, allocations: 347.1 kB / 383.4 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.2701, allocations: 347.1 kB / 383.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.2707, allocations: 457 kB / 384.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.2707, allocations: 0 / 384.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of Templates: time 0.04242/0.3131, allocations: 40.08 MB / 424.3 MB, free: 5.469 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: 3.589915036223829]