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.0006576/0.0006576, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008643/0.001522, 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.0006715/0.0006715, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001735, 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.9109/0.9109, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07609/0.987, 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.07898/0.07898, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008604/0.08758, allocations: 6.978 MB / 268.6 MB, free: 6.293 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.453e-06/1.453e-06, allocations: 0 / 269.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.117e-05, allocations: 2.312 kB / 269.9 MB, free: 4.992 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.1227/0.1227, allocations: 8.089 MB / 278 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1351, allocations: 14.69 MB / 292.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006998/0.1358, allocations: 24.19 kB / 292.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.1365, allocations: 403 kB / 293.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.1385, allocations: 1.205 MB / 294.3 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.1424, allocations: 2.172 MB / 296.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1441, allocations: 2.15 MB / 298.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009241/0.1451, allocations: 1.142 MB / 299.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.1462, allocations: 1.49 MB / 301.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009035/0.1471, allocations: 0.912 MB / 302.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.1473, allocations: 196 kB / 302.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.1495, allocations: 1.532 MB / 303.9 MB, free: 324 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.1498, allocations: 355 kB / 304.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.1502, allocations: 0.5732 MB / 304.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.1526, allocations: 2.938 MB / 307.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.1526, allocations: 0 / 307.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1526, allocations: 0 / 307.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.1526, allocations: 4 kB / 307.7 MB, free: 12.44 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.002388/0.155, allocations: 2.761 MB / 310.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.155, allocations: 12.03 kB / 310.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.156, allocations: 0.7427 MB / 311.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.1568, allocations: 0.6766 MB / 311.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1569, allocations: 242.6 kB / 312.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.157, allocations: 160.4 kB / 312.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.1582, allocations: 1.438 MB / 313.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1583, allocations: 7.922 kB / 313.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/0.1584, allocations: 68 kB / 313.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1584, allocations: 40 kB / 313.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1594, allocations: 1.101 MB / 315 MB, free: 5.012 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.00436/0.1638, allocations: 4.776 MB / 319.7 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.1644, allocations: 0.701 MB / 320.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.1647, allocations: 259.1 kB / 320.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002903/0.1676, allocations: 2.397 MB / 323.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1676, allocations: 43.2 kB / 323.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001928/0.1678, allocations: 107.1 kB / 323.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 1.623e-06/0.1678, allocations: 0 / 323.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.008/0.1758, allocations: 3.784 MB / 327 MB, free: 8.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1758, allocations: 119.8 kB / 327.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.1765, allocations: 1.008 MB / 328.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.1765, allocations: 41.7 kB / 328.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.1768, allocations: 0.8476 MB / 329 MB, free: 6.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.177, allocations: 361 kB / 329.4 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.1773, allocations: 343.2 kB / 329.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.1774, allocations: 365.8 kB / 330.1 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1776, allocations: 202.7 kB / 330.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.1781, allocations: 0.9114 MB / 331.2 MB, free: 4.117 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.1791, allocations: 1.407 MB / 332.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.1791, allocations: 10.56 kB / 332.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001729/0.1809, allocations: 1.309 MB / 333.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1809, allocations: 16 kB / 333.9 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.1809, allocations: 24 kB / 333.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.1822, allocations: 471.1 kB / 334.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.1837, allocations: 0.6729 MB / 335.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.1872, allocations: 6.6 MB / 341.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.1877, allocations: 85.2 kB / 341.8 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.1878, allocations: 87.97 kB / 341.8 MB, free: 8.676 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 (218): * Single equations (assignments): 212 * 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.0002364/0.188, allocations: 232 kB / 342.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.1881, allocations: 99.98 kB / 342.2 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.1898, allocations: 0.9997 MB / 343.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1898, allocations: 12 kB / 343.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1898, allocations: 3.938 kB / 343.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1898, allocations: 7.922 kB / 343.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.1922, allocations: 1.982 MB / 345.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.1922, allocations: 11.94 kB / 345.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.1927, allocations: 280.4 kB / 345.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.1928, allocations: 119.1 kB / 345.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.1942, allocations: 488.6 kB / 346.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.1942, allocations: 39.98 kB / 346.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.1974, allocations: 6.39 MB / 352.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.1974, allocations: 11.94 kB / 352.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.1991, allocations: 1.438 MB / 353.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.1992, allocations: 35.98 kB / 354 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.1994, allocations: 28 kB / 354 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1996, allocations: 112.2 kB / 354.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-05/0.1996, allocations: 43.98 kB / 354.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.1999, allocations: 480.1 kB / 354.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1999, allocations: 0 / 354.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001344/0.2013, allocations: 0.7094 MB / 355.3 MB, free: 10.48 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 (100): * Single equations (assignments): 94 * 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.0007794/0.202, allocations: 0.7267 MB / 356 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.2032, allocations: 1.201 MB / 357.3 MB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.214e-05/0.2032, allocations: 21.81 kB / 357.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000586/0.2038, allocations: 0.8919 MB / 358.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.2049, allocations: 1.541 MB / 359.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.215, allocations: 2.687 MB / 362.4 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.2152, allocations: 261.1 kB / 362.6 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005116/0.2157, allocations: 288.4 kB / 362.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.2162, allocations: 345.2 kB / 363.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2162, allocations: 0 / 363.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of Templates: time 0.02759/0.2437, allocations: 28.47 MB / 391.7 MB, free: 5.797 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.140459006652236]