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.001009/0.001009, allocations: 92.22 kB / 19.65 MB, free: 276 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.001089/0.001089, allocations: 173 kB / 23.02 MB, free: 1.547 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.9392/0.9392, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09846/0.09846, allocations: 17.46 MB / 277.4 MB, free: 11.55 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 2.034e-06/2.034e-06, allocations: 3.938 kB / 353.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.659e-05, allocations: 4.703 kB / 353.6 MB, free: 9.848 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.03/0.03003, allocations: 31.74 MB / 385.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.04313, allocations: 14.65 MB / 399.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.04466, allocations: 31.75 kB / 400 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.04576, allocations: 392.7 kB / 400.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.04912, allocations: 1.21 MB / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004929/0.05405, allocations: 2.186 MB / 403.7 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.05664, allocations: 2.163 MB / 405.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.05782, allocations: 1.116 MB / 407 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.05908, allocations: 1.408 MB / 408.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.0601, allocations: 0.9119 MB / 409.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.0604, allocations: 196 kB / 409.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.06341, allocations: 1.478 MB / 411 MB, free: 360 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1402/0.2036, allocations: 488.8 kB / 411.5 MB, free: 39.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.2051, allocations: 0.7179 MB / 412.2 MB, free: 39.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00644/0.2116, allocations: 3.206 MB / 415.4 MB, free: 39.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2116, allocations: 0 / 415.4 MB, free: 39.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2116, allocations: 0 / 415.4 MB, free: 39.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.842e-05/0.2116, allocations: 0 / 415.4 MB, free: 39.69 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.0104/0.222, allocations: 2.356 MB / 417.8 MB, free: 38.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2221, allocations: 12.25 kB / 417.8 MB, free: 38.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/0.2299, allocations: 0.71 MB / 418.5 MB, free: 38.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.2315, allocations: 0.873 MB / 419.4 MB, free: 38.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.2317, allocations: 236.3 kB / 419.6 MB, free: 37.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.2319, allocations: 170.1 kB / 419.8 MB, free: 37.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005657/0.2376, allocations: 1.588 MB / 421.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.2376, allocations: 4.719 kB / 421.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.2377, allocations: 69.34 kB / 421.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.2378, allocations: 40.81 kB / 421.5 MB, free: 37.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/0.2433, allocations: 1.472 MB / 422.9 MB, free: 37.6 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.01753/0.2608, allocations: 6.176 MB / 429.1 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.262, allocations: 0.7782 MB / 429.9 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.2625, allocations: 344.6 kB / 430.2 MB, free: 34.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.2737, allocations: 2.92 MB / 433.1 MB, free: 32.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.2738, allocations: 48.97 kB / 433.2 MB, free: 32.69 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004887/0.2742, allocations: 105.5 kB / 433.3 MB, free: 32.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 4.779e-06/0.2742, allocations: 2.656 kB / 433.3 MB, free: 32.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.01201/0.2862, allocations: 3.967 MB / 437.3 MB, free: 31.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2863, allocations: 116.3 kB / 437.4 MB, free: 31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/0.2873, allocations: 1.123 MB / 438.5 MB, free: 30.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.2873, allocations: 44.97 kB / 438.5 MB, free: 30.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.2876, allocations: 0.9821 MB / 439.5 MB, free: 29.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.2878, allocations: 360.1 kB / 439.9 MB, free: 29.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.2881, allocations: 364.2 kB / 440.2 MB, free: 28.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.2882, allocations: 0.5373 MB / 440.8 MB, free: 28.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.2886, allocations: 286.3 kB / 441.1 MB, free: 28.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.2892, allocations: 1.292 MB / 442.3 MB, free: 26.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.2904, allocations: 1.716 MB / 444.1 MB, free: 24.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.2905, allocations: 4 kB / 444.1 MB, free: 24.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002471/0.2929, allocations: 1.755 MB / 445.8 MB, free: 23.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.2929, allocations: 18.84 kB / 445.8 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.293, allocations: 24 kB / 445.9 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.2946, allocations: 477.5 kB / 446.3 MB, free: 22.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.2958, allocations: 0.5562 MB / 446.9 MB, free: 22.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.2998, allocations: 9.731 MB / 456.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000946/0.3008, allocations: 82.55 kB / 456.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.3009, allocations: 117.2 kB / 456.8 MB, free: 11.86 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.0004246/0.3013, allocations: 276 kB / 457.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.3015, allocations: 151.2 kB / 457.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.3035, allocations: 1.26 MB / 458.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.3035, allocations: 12 kB / 458.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3035, allocations: 5.281 kB / 458.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3035, allocations: 3.984 kB / 458.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.307, allocations: 2.502 MB / 461 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.307, allocations: 8 kB / 461 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.3074, allocations: 217.6 kB / 461.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.3091, allocations: 0.5034 MB / 461.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.402e-05/0.3092, allocations: 43.98 kB / 461.8 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004107/0.3133, allocations: 9.454 MB / 471.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3133, allocations: 14.16 kB / 471.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.3159, allocations: 1.939 MB / 473.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.3162, allocations: 127 kB / 473.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3163, allocations: 28 kB / 473.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.3166, allocations: 31.98 kB / 473.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.3168, allocations: 110.6 kB / 473.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.3168, allocations: 51.98 kB / 473.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006022/0.3174, allocations: 0.6548 MB / 474.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3174, allocations: 0 / 474.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002122/0.3195, allocations: 0.7094 MB / 474.9 MB, free: 9.121 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.001105/0.3207, allocations: 0.6912 MB / 475.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.3226, allocations: 1.437 MB / 477 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3226, allocations: 2.625 kB / 477 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008387/0.3234, allocations: 1.103 MB / 478.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.3243, allocations: 261.1 kB / 478.4 MB, free: 5.801 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.003686/0.328, allocations: 2.705 MB / 481.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.3282, allocations: 273.8 kB / 481.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006907/0.3289, allocations: 311.4 kB / 481.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.3292, allocations: 175.1 kB / 481.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3292, allocations: 0 / 481.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of Templates: time 0.03357/0.3627, allocations: 28.12 MB / 0.498 GB, free: 7.332 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8206403800286353]