Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.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.0009745/0.0009745, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002264, allocations: 435.8 kB / 10.33 MB, free: 368 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.001057/0.001057, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002408, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9312/0.9312, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09138/1.023, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.08559/0.08559, allocations: 17.35 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0106/0.0962, allocations: 6.928 MB / 268.3 MB, free: 6.531 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 269.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.777e-06/1.06e-05, allocations: 2.312 kB / 269.5 MB, free: 5.254 MB / 266.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.ElectrochemicalCell): time 0.1324/0.1325, allocations: 10.1 MB / 279.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02206/0.1545, allocations: 26.2 MB / 305.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.1559, allocations: 31.75 kB / 305.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.157, allocations: 0.5774 MB / 306.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.1618, allocations: 2.171 MB / 308.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008026/0.1698, allocations: 3.614 MB / 312.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003156/0.173, allocations: 2.93 MB / 315.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.1747, allocations: 1.433 MB / 316.6 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.177, allocations: 2.087 MB / 318.7 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.1787, allocations: 1.259 MB / 319.9 MB, free: 208 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004388/0.1791, allocations: 256 kB / 320.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/0.1853, allocations: 2.834 MB / 323 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005881/0.1859, allocations: 450.6 kB / 323.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.187, allocations: 0.7487 MB / 324.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009546/0.1966, allocations: 4.821 MB / 329 MB, free: 7.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.977e-05/0.1966, allocations: 4 kB / 329 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1966, allocations: 0 / 329 MB, free: 7.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.738e-05/0.1967, allocations: 0 / 329 MB, free: 7.078 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.003871/0.2006, allocations: 3.852 MB / 332.9 MB, free: 3.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2006, allocations: 8.031 kB / 332.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.2023, allocations: 0.9246 MB / 333.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2034, allocations: 0.8514 MB / 334.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.2035, allocations: 271.7 kB / 334.9 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.2038, allocations: 228.3 kB / 335.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.2055, allocations: 1.872 MB / 337 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.2056, allocations: 0 / 337 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.2057, allocations: 95.94 kB / 337.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.2057, allocations: 60 kB / 337.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.2073, allocations: 1.547 MB / 338.7 MB, free: 13.16 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.007028/0.2143, allocations: 5.637 MB / 344.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2154, allocations: 1.083 MB / 345.4 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.2158, allocations: 419.5 kB / 345.9 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005008/0.2208, allocations: 3.591 MB / 349.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2208, allocations: 46.75 kB / 349.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.525e-06/0.2208, allocations: 0 / 349.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01373/0.2346, allocations: 6.396 MB / 355.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.2346, allocations: 99.05 kB / 356 MB, free: 11.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.2354, allocations: 1.072 MB / 357.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.2355, allocations: 57.64 kB / 357.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/0.2359, allocations: 0.9773 MB / 358.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.2362, allocations: 0.6584 MB / 358.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.2366, allocations: 472.9 kB / 359.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.2367, allocations: 305.2 kB / 359.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.237, allocations: 304.5 kB / 359.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.2377, allocations: 1.158 MB / 361 MB, free: 6.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.2393, allocations: 1.774 MB / 362.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.2393, allocations: 8 kB / 362.7 MB, free: 4.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.002356/0.2417, allocations: 1.722 MB / 364.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.2417, allocations: 16 kB / 364.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.2417, allocations: 28 kB / 364.5 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.2435, allocations: 0.6032 MB / 365.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.2458, allocations: 1.017 MB / 366.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.25, allocations: 6.655 MB / 372.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.251, allocations: 92.03 kB / 372.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.2512, allocations: 128 kB / 373 MB, free: 9.363 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * 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,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004831/0.2517, allocations: 279.7 kB / 373.3 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.2519, allocations: 147.9 kB / 373.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.2543, allocations: 1.622 MB / 375 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.2544, allocations: 20 kB / 375.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2544, allocations: 0 / 375.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.2544, allocations: 7.969 kB / 375.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/0.2585, allocations: 3.058 MB / 378.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.2585, allocations: 8 kB / 378.1 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.2595, allocations: 0.5345 MB / 378.7 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.2598, allocations: 154.9 kB / 378.8 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.2616, allocations: 0.6201 MB / 379.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.2617, allocations: 79.97 kB / 379.5 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.2654, allocations: 6.438 MB / 386 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.2654, allocations: 23.81 kB / 386 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.2679, allocations: 2.168 MB / 388.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.2682, allocations: 56 kB / 388.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.2687, allocations: 47.98 kB / 388.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.2689, allocations: 196.7 kB / 388.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.481e-05/0.269, allocations: 79.97 kB / 388.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004088/0.2694, allocations: 494.1 kB / 389 MB, free: 8.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2694, allocations: 0 / 389 MB, free: 8.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002891/0.2723, allocations: 1.153 MB / 390.2 MB, free: 7.367 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * 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,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001745/0.274, allocations: 1.326 MB / 391.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.2762, allocations: 1.653 MB / 393.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.796e-05/0.2763, allocations: 46.53 kB / 393.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008807/0.2772, allocations: 1.107 MB / 394.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.2784, allocations: 0.5461 MB / 394.8 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.2948, allocations: 3.748 MB / 398.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2952, allocations: 373.8 kB / 398.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001458/0.2967, allocations: 417.1 kB / 399.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.2977, allocations: 0.5311 MB / 399.9 MB, free: 13.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2977, allocations: 8 kB / 399.9 MB, free: 13.33 MB / 394.7 MB Notification: Performance of Templates: time 0.1678/0.4656, allocations: 46.82 MB / 446.7 MB, free: 102.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.862759589217603]