Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0009993/0.0009993, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001649/0.001649, allocations: 173 kB / 24.06 MB, free: 444 kB / 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.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1225/0.1225, allocations: 17.38 MB / 278.4 MB, free: 11.48 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 354.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.664e-05, allocations: 5.547 kB / 354.7 MB, free: 9.691 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.03037/0.0304, allocations: 31.64 MB / 386.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.0433, allocations: 14.34 MB / 400.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.04458, allocations: 27.81 kB / 400.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009447/0.04553, allocations: 392.7 kB / 401 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.04854, allocations: 1.21 MB / 402.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.05343, allocations: 2.182 MB / 404.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002991/0.05642, allocations: 2.167 MB / 406.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.05769, allocations: 1.108 MB / 407.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.05964, allocations: 1.412 MB / 409.1 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.06069, allocations: 0.9196 MB / 410 MB, free: 2.285 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.0609, allocations: 196 kB / 410.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.06413, allocations: 1.47 MB / 411.7 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.06449, allocations: 498.4 kB / 412.2 MB, free: 136 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1636/0.2281, allocations: 0.7103 MB / 412.9 MB, free: 39.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008425/0.2365, allocations: 3.211 MB / 416.1 MB, free: 39.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2365, allocations: 0 / 416.1 MB, free: 39.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2365, allocations: 1.875 kB / 416.1 MB, free: 39.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.642e-05/0.2366, allocations: 0 / 416.1 MB, free: 39.8 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.004938/0.2416, allocations: 2.364 MB / 418.5 MB, free: 38.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2416, allocations: 8.25 kB / 418.5 MB, free: 38.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.2435, allocations: 0.7106 MB / 419.2 MB, free: 38.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.245, allocations: 0.8709 MB / 420.1 MB, free: 38.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.2452, allocations: 232 kB / 420.3 MB, free: 38.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.2454, allocations: 170.6 kB / 420.5 MB, free: 38.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.2476, allocations: 1.456 MB / 421.9 MB, free: 37.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.2477, allocations: 2.094 kB / 421.9 MB, free: 37.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.2478, allocations: 68.28 kB / 422 MB, free: 37.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.2478, allocations: 43.12 kB / 422 MB, free: 37.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.2497, allocations: 1.256 MB / 423.3 MB, free: 37.69 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.007114/0.2568, allocations: 6.178 MB / 429.5 MB, free: 34.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2578, allocations: 0.7182 MB / 430.2 MB, free: 34.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.2581, allocations: 291.8 kB / 430.5 MB, free: 34.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004564/0.2627, allocations: 2.906 MB / 433.4 MB, free: 33.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2627, allocations: 46.09 kB / 433.4 MB, free: 33.4 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00035/0.2631, allocations: 109.9 kB / 433.5 MB, free: 33.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 5.6e-06/0.2631, allocations: 0 / 433.5 MB, free: 33.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.008466/0.2715, allocations: 3.125 MB / 436.7 MB, free: 32.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2716, allocations: 116.7 kB / 436.8 MB, free: 32.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/0.2724, allocations: 1.076 MB / 437.8 MB, free: 31.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.2725, allocations: 43.89 kB / 437.9 MB, free: 31.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.2728, allocations: 0.9934 MB / 438.9 MB, free: 31.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.273, allocations: 368.7 kB / 439.2 MB, free: 30.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.2733, allocations: 360.9 kB / 439.6 MB, free: 30.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.2734, allocations: 0.5502 MB / 440.1 MB, free: 30.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2736, allocations: 222.8 kB / 440.4 MB, free: 30.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.2742, allocations: 1.239 MB / 441.6 MB, free: 28.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2754, allocations: 1.623 MB / 443.2 MB, free: 27.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.2754, allocations: 11.31 kB / 443.2 MB, free: 27.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00232/0.2777, allocations: 1.607 MB / 444.8 MB, free: 25.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.2777, allocations: 16 kB / 444.9 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.2778, allocations: 24 kB / 444.9 MB, free: 25.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.2794, allocations: 473.5 kB / 445.3 MB, free: 25.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2806, allocations: 0.5474 MB / 445.9 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.2843, allocations: 9.641 MB / 455.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/0.2853, allocations: 86.47 kB / 455.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.2854, allocations: 91.97 kB / 455.7 MB, free: 14.42 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.0004101/0.2858, allocations: 276.6 kB / 456 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.2861, allocations: 153.8 kB / 456.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.2879, allocations: 1.162 MB / 457.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2879, allocations: 12 kB / 457.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2879, allocations: 0 / 457.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.2879, allocations: 9.75 kB / 457.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.2912, allocations: 2.462 MB / 459.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.2912, allocations: 8 kB / 459.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.2916, allocations: 210.4 kB / 460 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.2933, allocations: 0.4992 MB / 460.5 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.526e-05/0.2934, allocations: 43.98 kB / 460.5 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.2968, allocations: 9.358 MB / 469.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.2968, allocations: 10.14 kB / 469.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.2995, allocations: 1.82 MB / 471.7 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.2997, allocations: 126.1 kB / 471.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2999, allocations: 35.98 kB / 471.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.3002, allocations: 24 kB / 471.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.3004, allocations: 115.3 kB / 472 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.3004, allocations: 42.64 kB / 472 MB, free: 13.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005137/0.3009, allocations: 0.5897 MB / 472.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3009, allocations: 0 / 472.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002306/0.3033, allocations: 0.7085 MB / 473.3 MB, free: 12.45 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.001533/0.3048, allocations: 0.739 MB / 474.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.3067, allocations: 1.335 MB / 475.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3067, allocations: 0 / 475.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.3076, allocations: 1.064 MB / 476.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3087, allocations: 246.5 kB / 476.7 MB, free: 9.273 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.3126, allocations: 2.695 MB / 479.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3129, allocations: 274.1 kB / 479.7 MB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000747/0.3136, allocations: 284.8 kB / 480 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.3142, allocations: 394 kB / 480.4 MB, free: 5.684 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3142, allocations: 0 / 480.4 MB, free: 5.684 MB / 346.7 MB Notification: Performance of Templates: time 0.03596/0.3501, allocations: 28.98 MB / 0.4974 GB, free: 9.793 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0338449203409255]