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.0009525/0.0009525, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009242/0.0009242, allocations: 181 kB / 23.36 MB, free: 1.129 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.9823/0.9823, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.09213/0.09213, allocations: 17.47 MB / 277.7 MB, free: 11.45 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.132e-06/1.132e-06, allocations: 0 / 300.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.75e-05, allocations: 2.312 kB / 300.8 MB, free: 1.688 MB / 266.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.03371/0.03373, allocations: 37.51 MB / 338.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.04708, allocations: 14.59 MB / 352.9 MB, free: 204 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.04837, allocations: 23.81 kB / 352.9 MB, free: 180 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.04923, allocations: 412.5 kB / 353.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.05167, allocations: 1.198 MB / 354.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.05561, allocations: 2.175 MB / 356.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.05764, allocations: 2.163 MB / 358.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.05873, allocations: 1.132 MB / 360 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.05991, allocations: 1.4 MB / 361.4 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.06091, allocations: 0.908 MB / 362.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.06118, allocations: 196 kB / 362.5 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.06392, allocations: 1.528 MB / 364 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.06421, allocations: 494.4 kB / 364.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005708/0.06478, allocations: 0.7133 MB / 365.2 MB, free: 3.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.06883, allocations: 3.21 MB / 368.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.06883, allocations: 0 / 368.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.06883, allocations: 0 / 368.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.074e-05/0.06887, allocations: 0 / 368.4 MB, free: 0.5469 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.002463/0.07134, allocations: 2.213 MB / 370.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.07137, allocations: 16.03 kB / 370.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.07257, allocations: 0.6669 MB / 371.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/0.07348, allocations: 0.6727 MB / 372 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.07361, allocations: 234.7 kB / 372.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.07377, allocations: 168.4 kB / 372.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.07515, allocations: 1.442 MB / 373.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.07518, allocations: 3.938 kB / 373.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.07527, allocations: 68 kB / 373.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.07529, allocations: 40 kB / 373.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.07654, allocations: 1.096 MB / 375 MB, free: 9.75 MB / 346.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.005158/0.0817, allocations: 4.764 MB / 379.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.08246, allocations: 0.7 MB / 380.5 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.08272, allocations: 254 kB / 380.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003442/0.08616, allocations: 2.483 MB / 383.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.08619, allocations: 47.22 kB / 383.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002173/0.0864, allocations: 99.17 kB / 383.3 MB, free: 1.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.476e-06/0.08641, allocations: 4 kB / 383.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=95): time 0.007991/0.0944, allocations: 3.262 MB / 386.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.09445, allocations: 119.8 kB / 386.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007296/0.09518, allocations: 1.004 MB / 387.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.09523, allocations: 45.7 kB / 387.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.09558, allocations: 0.8436 MB / 388.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.09577, allocations: 365 kB / 389 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.09608, allocations: 343.2 kB / 389.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.09619, allocations: 365.8 kB / 389.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.09646, allocations: 202.7 kB / 389.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/0.09703, allocations: 0.9192 MB / 390.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.09807, allocations: 1.321 MB / 392.1 MB, free: 7.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.09808, allocations: 8 kB / 392.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001978/0.1001, allocations: 1.301 MB / 393.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.1001, allocations: 16 kB / 393.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.1001, allocations: 24.47 kB / 393.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.1016, allocations: 474.6 kB / 393.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.1031, allocations: 0.6397 MB / 394.5 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.1071, allocations: 6.593 MB / 401.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.1078, allocations: 83.86 kB / 401.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.1079, allocations: 83.97 kB / 401.3 MB, free: 14 MB / 378.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.000334/0.1082, allocations: 243.9 kB / 401.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.1084, allocations: 95.91 kB / 401.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.1102, allocations: 1.008 MB / 402.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1102, allocations: 8 kB / 402.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1102, allocations: 4 kB / 402.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1102, allocations: 3.984 kB / 402.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.113, allocations: 1.978 MB / 404.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.113, allocations: 8.875 kB / 404.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/0.1135, allocations: 263.6 kB / 404.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.1151, allocations: 492.6 kB / 405.4 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.1152, allocations: 39.98 kB / 405.4 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.1187, allocations: 6.396 MB / 411.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.1187, allocations: 11.94 kB / 411.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.1206, allocations: 1.45 MB / 413.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.1208, allocations: 111.2 kB / 413.4 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.1208, allocations: 28 kB / 413.4 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.1212, allocations: 32 kB / 413.4 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1213, allocations: 116.2 kB / 413.6 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.1214, allocations: 39.98 kB / 413.6 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003807/0.1217, allocations: 484.1 kB / 414.1 MB, free: 500 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1217, allocations: 0 / 414.1 MB, free: 500 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001623/0.1234, allocations: 0.7056 MB / 414.8 MB, free: 15.78 MB / 394.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.0008465/0.1242, allocations: 0.7207 MB / 415.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.1256, allocations: 1.161 MB / 416.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-05/0.1256, allocations: 18.19 kB / 416.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.1262, allocations: 0.8418 MB / 417.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.1269, allocations: 247.7 kB / 417.8 MB, free: 12.71 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.1299, allocations: 2.554 MB / 420.3 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.1301, allocations: 271 kB / 420.6 MB, free: 9.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005849/0.1307, allocations: 282 kB / 420.9 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.1312, allocations: 353.2 kB / 421.2 MB, free: 9.109 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1312, allocations: 0 / 421.2 MB, free: 9.109 MB / 394.7 MB Notification: Performance of Templates: time 0.1391/0.2702, allocations: 28.64 MB / 449.8 MB, free: 110.8 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6336216530762613]