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.001053/0.001053, allocations: 93.06 kB / 19.65 MB, free: 272 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.00119/0.00119, allocations: 165 kB / 23.02 MB, free: 1.543 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.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.08785/0.08785, allocations: 17.38 MB / 277.3 MB, free: 11.65 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.293e-06/1.293e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.202e-05, allocations: 2.312 kB / 353.4 MB, free: 9.98 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.02605/0.02608, allocations: 31.75 MB / 385.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.03977, allocations: 14.66 MB / 399.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.04087, allocations: 27.81 kB / 399.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.04179, allocations: 388.7 kB / 400.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.04399, allocations: 1.214 MB / 401.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.04838, allocations: 2.179 MB / 403.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.05024, allocations: 2.171 MB / 405.8 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.05111, allocations: 1.105 MB / 406.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008737/0.05199, allocations: 1.357 MB / 408.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.05277, allocations: 0.8768 MB / 409.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.05295, allocations: 200 kB / 409.3 MB, free: 2.047 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.05536, allocations: 1.474 MB / 410.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.05564, allocations: 494.4 kB / 411.3 MB, free: 88 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1648/0.2205, allocations: 0.7047 MB / 412 MB, free: 39.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006617/0.2271, allocations: 3.162 MB / 415.1 MB, free: 39.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2271, allocations: 3.219 kB / 415.2 MB, free: 39.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2271, allocations: 0 / 415.2 MB, free: 39.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.099e-05/0.2271, allocations: 0 / 415.2 MB, free: 39.65 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.003689/0.2308, allocations: 2.332 MB / 417.5 MB, free: 38.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.2309, allocations: 10.25 kB / 417.5 MB, free: 38.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.2324, allocations: 0.7653 MB / 418.3 MB, free: 38.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.2338, allocations: 1.036 MB / 419.3 MB, free: 38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.234, allocations: 237.1 kB / 419.5 MB, free: 37.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.2342, allocations: 169.1 kB / 419.7 MB, free: 37.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.2362, allocations: 1.587 MB / 421.3 MB, free: 37.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.2362, allocations: 4.562 kB / 421.3 MB, free: 37.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.2363, allocations: 72.84 kB / 421.4 MB, free: 37.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.2364, allocations: 41.56 kB / 421.4 MB, free: 37.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.2384, allocations: 1.475 MB / 422.9 MB, free: 37.55 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.00518/0.2436, allocations: 6.136 MB / 429 MB, free: 34.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.2444, allocations: 0.791 MB / 429.8 MB, free: 34.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.2448, allocations: 339.3 kB / 430.1 MB, free: 34.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003635/0.2485, allocations: 2.912 MB / 433 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2485, allocations: 50.06 kB / 433.1 MB, free: 32.61 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002114/0.2487, allocations: 106.9 kB / 433.2 MB, free: 32.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.965e-06/0.2487, allocations: 0 / 433.2 MB, free: 32.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.008672/0.2574, allocations: 3.963 MB / 437.2 MB, free: 31.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.2574, allocations: 117.9 kB / 437.3 MB, free: 30.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007889/0.2582, allocations: 1.122 MB / 438.4 MB, free: 30.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.2583, allocations: 41.52 kB / 438.4 MB, free: 30.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.2586, allocations: 0.9777 MB / 439.4 MB, free: 29.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.2587, allocations: 364.6 kB / 439.8 MB, free: 29.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.259, allocations: 369.2 kB / 440.1 MB, free: 28.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.2591, allocations: 0.535 MB / 440.7 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.2595, allocations: 286 kB / 440.9 MB, free: 28.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.2601, allocations: 1.296 MB / 442.2 MB, free: 26.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2612, allocations: 1.713 MB / 444 MB, free: 24.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.2612, allocations: 8 kB / 444 MB, free: 24.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002393/0.2636, allocations: 1.75 MB / 445.7 MB, free: 23.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.2636, allocations: 18.66 kB / 445.7 MB, free: 23.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.2637, allocations: 26.66 kB / 445.8 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.2652, allocations: 477.8 kB / 446.2 MB, free: 22.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.2665, allocations: 0.5594 MB / 446.8 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.2701, allocations: 9.726 MB / 456.5 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.2706, allocations: 82.55 kB / 456.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.2707, allocations: 111.9 kB / 456.7 MB, free: 11.82 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.0002712/0.271, allocations: 278.5 kB / 457 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.2712, allocations: 151.2 kB / 457.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.2731, allocations: 1.257 MB / 458.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2731, allocations: 11.83 kB / 458.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2732, allocations: 4 kB / 458.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2732, allocations: 3.984 kB / 458.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.2761, allocations: 2.505 MB / 460.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2761, allocations: 8 kB / 460.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.2766, allocations: 218.1 kB / 461.1 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.2782, allocations: 0.5 MB / 461.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.2782, allocations: 43.98 kB / 461.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/0.2818, allocations: 9.457 MB / 471.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.2818, allocations: 11.47 kB / 471.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.2843, allocations: 1.942 MB / 473.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.2845, allocations: 123 kB / 473.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.2846, allocations: 32 kB / 473.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.2849, allocations: 28 kB / 473.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.285, allocations: 111.5 kB / 473.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.2851, allocations: 47.98 kB / 473.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005653/0.2856, allocations: 0.6599 MB / 474.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2856, allocations: 4 kB / 474.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002157/0.2878, allocations: 0.7055 MB / 474.8 MB, free: 9.086 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.001042/0.2888, allocations: 0.7021 MB / 475.5 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.2907, allocations: 1.434 MB / 476.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2907, allocations: 0 / 476.9 MB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.2915, allocations: 1.108 MB / 478 MB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.2923, allocations: 249.9 kB / 478.3 MB, free: 5.77 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.003424/0.2958, allocations: 2.712 MB / 481 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.296, allocations: 271.8 kB / 481.2 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005933/0.2966, allocations: 306.9 kB / 481.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.2968, allocations: 180 kB / 481.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.2968, allocations: 0 / 481.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of Templates: time 0.02717/0.324, allocations: 25.32 MB / 0.4952 GB, free: 10.04 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: 3.9937907648272812]