Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.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.0009582/0.0009582, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002237, allocations: 435.8 kB / 10.33 MB, free: 368 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.002124, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9471/0.9471, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09354/1.041, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.09125/0.09125, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0116/0.1028, allocations: 6.96 MB / 268.4 MB, free: 6.406 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 269.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.566e-05, allocations: 6.312 kB / 269.6 MB, free: 5.133 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.H2O_ElectrochemicalCell): time 0.1295/0.1295, allocations: 8.084 MB / 277.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1428, allocations: 14.7 MB / 292.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.1439, allocations: 29.5 kB / 292.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008952/0.1448, allocations: 408.7 kB / 292.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.1475, allocations: 1.194 MB / 294 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005545/0.153, allocations: 2.173 MB / 296.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.155, allocations: 2.162 MB / 298.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1561, allocations: 1.131 MB / 299.5 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.1574, allocations: 1.496 MB / 301 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009703/0.1584, allocations: 0.9039 MB / 301.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.1586, allocations: 200 kB / 302.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.1615, allocations: 1.532 MB / 303.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.1617, allocations: 347 kB / 304 MB, free: 164 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.1623, allocations: 0.5733 MB / 304.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.1653, allocations: 2.934 MB / 307.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.1653, allocations: 0 / 307.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1653, allocations: 0 / 307.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.147e-05/0.1653, allocations: 0 / 307.5 MB, free: 12.64 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.002659/0.168, allocations: 2.772 MB / 310.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.168, allocations: 8.031 kB / 310.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1691, allocations: 0.7506 MB / 311 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.1699, allocations: 0.6688 MB / 311.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.17, allocations: 230.7 kB / 311.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1702, allocations: 176.3 kB / 312.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.1714, allocations: 1.438 MB / 313.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.1715, allocations: 7.938 kB / 313.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/0.1715, allocations: 64 kB / 313.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.1716, allocations: 44 kB / 313.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1727, allocations: 1.092 MB / 314.7 MB, free: 5.203 MB / 298.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.004784/0.1775, allocations: 4.784 MB / 319.5 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.1782, allocations: 0.701 MB / 320.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1784, allocations: 254.5 kB / 320.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00304/0.1815, allocations: 2.397 MB / 322.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1815, allocations: 39.22 kB / 322.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001965/0.1817, allocations: 107.1 kB / 323 MB, free: 12.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.713e-06/0.1817, allocations: 0 / 323 MB, free: 12.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=95): time 0.007237/0.1889, allocations: 3.265 MB / 326.3 MB, free: 9.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.189, allocations: 115.8 kB / 326.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.1896, allocations: 1.015 MB / 327.4 MB, free: 8.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1896, allocations: 41.7 kB / 327.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.19, allocations: 0.8397 MB / 328.3 MB, free: 7.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.1901, allocations: 365 kB / 328.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.1904, allocations: 347.2 kB / 329 MB, free: 6.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.1905, allocations: 365.8 kB / 329.3 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.1908, allocations: 202.7 kB / 329.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.1913, allocations: 0.9142 MB / 330.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.1922, allocations: 1.325 MB / 331.8 MB, free: 3.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1923, allocations: 8 kB / 331.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001881/0.1941, allocations: 1.313 MB / 333.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1942, allocations: 22.03 kB / 333.1 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.1942, allocations: 24 kB / 333.1 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.1955, allocations: 466.6 kB / 333.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.197, allocations: 0.6728 MB / 334.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/0.2008, allocations: 6.6 MB / 340.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.2013, allocations: 79.98 kB / 340.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/0.2014, allocations: 91.97 kB / 341 MB, free: 9.461 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.2017, allocations: 235.9 kB / 341.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2018, allocations: 95.91 kB / 341.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.2035, allocations: 0.9991 MB / 342.4 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2035, allocations: 12.14 kB / 342.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2035, allocations: 0 / 342.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2035, allocations: 15.95 kB / 342.4 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.2063, allocations: 1.991 MB / 344.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2063, allocations: 8 kB / 344.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.2068, allocations: 279.6 kB / 344.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.2069, allocations: 119.1 kB / 344.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.2083, allocations: 492.6 kB / 345.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.2084, allocations: 39.98 kB / 345.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.2118, allocations: 6.393 MB / 351.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.2118, allocations: 11.94 kB / 351.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.2135, allocations: 1.458 MB / 353.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.2136, allocations: 31.98 kB / 353.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.2139, allocations: 24 kB / 353.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.214, allocations: 120.2 kB / 353.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.2141, allocations: 35.98 kB / 353.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003336/0.2144, allocations: 484.1 kB / 353.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2144, allocations: 0 / 353.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00146/0.2158, allocations: 0.7016 MB / 354.5 MB, free: 11.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008225/0.2167, allocations: 0.7273 MB / 355.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.2179, allocations: 1.19 MB / 356.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.065e-05/0.218, allocations: 25.81 kB / 356.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.2187, allocations: 0.8227 MB / 357.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/0.2195, allocations: 393.5 kB / 357.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.2303, allocations: 2.704 MB / 360.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.2305, allocations: 271.1 kB / 360.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006011/0.2311, allocations: 281.2 kB / 360.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.2315, allocations: 357.2 kB / 361.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2315, allocations: 0 / 361.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of Templates: time 0.03627/0.2678, allocations: 29.09 MB / 390.4 MB, free: 7.395 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.355134247802198]