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.001385/0.001385, allocations: 88.72 kB / 19.44 MB, free: 356 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.001575/0.001575, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1438/0.1438, allocations: 17.45 MB / 277 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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.643e-06/1.643e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.236e-05, allocations: 6.25 kB / 352.8 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.04318/0.04321, allocations: 28.71 MB / 381.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0281/0.07132, allocations: 17.12 MB / 398.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.07283, allocations: 23.81 kB / 398.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.0747, allocations: 476.2 kB / 399.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.07911, allocations: 1.252 MB / 400.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008811/0.08792, allocations: 2.973 MB / 403.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.09167, allocations: 2.171 MB / 405.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.09366, allocations: 1.097 MB / 406.6 MB, free: 4.363 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.09622, allocations: 1.341 MB / 408 MB, free: 3.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.09801, allocations: 0.8338 MB / 408.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.09835, allocations: 200 kB / 409 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005526/0.1039, allocations: 1.969 MB / 411 MB, free: 16 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.139/0.2429, allocations: 482.2 kB / 411.4 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.244, allocations: 0.7066 MB / 412.2 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008224/0.2522, allocations: 4.567 MB / 416.7 MB, free: 37.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2522, allocations: 0 / 416.7 MB, free: 37.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2522, allocations: 1.219 kB / 416.7 MB, free: 37.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.2522, allocations: 3.25 kB / 416.7 MB, free: 37.41 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004202/0.2565, allocations: 2.313 MB / 419 MB, free: 36.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2565, allocations: 8.969 kB / 419 MB, free: 36.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.2585, allocations: 0.7664 MB / 419.8 MB, free: 36.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.2603, allocations: 1.038 MB / 420.8 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.2605, allocations: 236.4 kB / 421.1 MB, free: 35.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.2608, allocations: 166.2 kB / 421.2 MB, free: 35.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.2642, allocations: 2.239 MB / 423.5 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.2642, allocations: 6.094 kB / 423.5 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.2644, allocations: 69.5 kB / 423.6 MB, free: 35.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.2644, allocations: 42.25 kB / 423.6 MB, free: 35.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/0.268, allocations: 2.694 MB / 426.3 MB, free: 35.08 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.008511/0.2765, allocations: 6.17 MB / 432.5 MB, free: 31.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.278, allocations: 0.982 MB / 433.4 MB, free: 31.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.2787, allocations: 0.5172 MB / 434 MB, free: 30.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006484/0.2852, allocations: 3.06 MB / 437 MB, free: 29.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2853, allocations: 42.53 kB / 437.1 MB, free: 29.43 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004411/0.2857, allocations: 98.77 kB / 437.2 MB, free: 29.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.457e-06/0.2857, allocations: 2.844 kB / 437.2 MB, free: 29.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.01815/0.3039, allocations: 4.594 MB / 441.8 MB, free: 26.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3039, allocations: 115.8 kB / 441.9 MB, free: 26.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.3053, allocations: 1.453 MB / 443.3 MB, free: 24.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.3054, allocations: 37.7 kB / 443.4 MB, free: 24.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.3058, allocations: 0.9231 MB / 444.3 MB, free: 23.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.306, allocations: 359.1 kB / 444.6 MB, free: 23.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.3065, allocations: 351.3 kB / 445 MB, free: 23.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.3065, allocations: 368.4 kB / 445.3 MB, free: 22.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.3074, allocations: 0.6325 MB / 446 MB, free: 22.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.3085, allocations: 1.346 MB / 447.3 MB, free: 20.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.3105, allocations: 1.928 MB / 449.2 MB, free: 18.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.3105, allocations: 8 kB / 449.2 MB, free: 18.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005319/0.3158, allocations: 2.46 MB / 451.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.3159, allocations: 20 kB / 451.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/0.3159, allocations: 26.66 kB / 451.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.3198, allocations: 0.4949 MB / 452.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.3223, allocations: 0.5625 MB / 452.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.3292, allocations: 7.384 MB / 460.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.3307, allocations: 78.52 kB / 460.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.3309, allocations: 114 kB / 460.4 MB, free: 6.988 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.0006603/0.3315, allocations: 370.9 kB / 460.7 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.3319, allocations: 151.2 kB / 460.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.3364, allocations: 1.527 MB / 462.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3364, allocations: 8 kB / 462.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3364, allocations: 4 kB / 462.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3364, allocations: 3.984 kB / 462.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006146/0.3425, allocations: 2.671 MB / 465.1 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.3425, allocations: 4 kB / 465.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.3433, allocations: 217.2 kB / 465.3 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004011/0.3473, allocations: 0.5363 MB / 465.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.3474, allocations: 43.98 kB / 465.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009374/0.3568, allocations: 7.175 MB / 473.1 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.3568, allocations: 11.56 kB / 473.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005781/0.3626, allocations: 2.177 MB / 475.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.363, allocations: 123.2 kB / 475.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.3632, allocations: 34.67 kB / 475.4 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/0.364, allocations: 28 kB / 475.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.3643, allocations: 107.3 kB / 475.6 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.3644, allocations: 51.98 kB / 475.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001772/0.3662, allocations: 0.9712 MB / 476.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3662, allocations: 0 / 476.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003516/0.3697, allocations: 0.8299 MB / 477.4 MB, free: 5.508 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.002539/0.3722, allocations: 0.9208 MB / 478.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00387/0.3761, allocations: 1.713 MB / 480 MB, free: 3.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.3761, allocations: 0 / 480 MB, free: 3.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.3778, allocations: 0.9562 MB / 481 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.3793, allocations: 253.3 kB / 481.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.3859, allocations: 2.789 MB / 484 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009598/0.3869, allocations: 0.6355 MB / 484.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.3881, allocations: 318.7 kB / 485 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.3886, allocations: 173.9 kB / 485.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3886, allocations: 0 / 485.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Templates: time 0.05441/0.4431, allocations: 27.95 MB / 0.5011 GB, free: 2.992 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9836091469042]