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.0009252/0.0009252, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009607/0.0009607, allocations: 165 kB / 23.02 MB, free: 1.551 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.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.1127/0.1127, allocations: 17.46 MB / 277.4 MB, free: 11.58 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.492e-06/1.492e-06, allocations: 7.875 kB / 353.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.86e-05, allocations: 6.312 kB / 353.5 MB, free: 9.863 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.02623/0.02626, allocations: 31.74 MB / 385.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.03926, allocations: 14.66 MB / 399.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.04027, allocations: 27.75 kB / 400 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.04111, allocations: 388.7 kB / 400.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.04332, allocations: 1.221 MB / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.04754, allocations: 2.175 MB / 403.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.04916, allocations: 2.167 MB / 405.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008431/0.05001, allocations: 1.116 MB / 407 MB, free: 4.363 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009191/0.05093, allocations: 1.361 MB / 408.4 MB, free: 3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009558/0.05188, allocations: 0.8767 MB / 409.3 MB, free: 2.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.05206, allocations: 200 kB / 409.5 MB, free: 1.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.05465, allocations: 1.474 MB / 410.9 MB, free: 460 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1433/0.1979, allocations: 483.9 kB / 411.4 MB, free: 39.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.1992, allocations: 0.7068 MB / 412.1 MB, free: 39.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005259/0.2045, allocations: 3.161 MB / 415.3 MB, free: 39.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2045, allocations: 0 / 415.3 MB, free: 39.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2045, allocations: 5.156 kB / 415.3 MB, free: 39.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.687e-05/0.2045, allocations: 0 / 415.3 MB, free: 39.7 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.002818/0.2073, allocations: 2.33 MB / 417.6 MB, free: 38.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2073, allocations: 10.59 kB / 417.6 MB, free: 38.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.2087, allocations: 0.7696 MB / 418.4 MB, free: 38.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.2102, allocations: 1.033 MB / 419.4 MB, free: 38.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.2103, allocations: 234.6 kB / 419.6 MB, free: 37.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.2106, allocations: 163.1 kB / 419.8 MB, free: 37.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.2128, allocations: 1.588 MB / 421.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.2128, allocations: 4.312 kB / 421.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.213, allocations: 72.47 kB / 421.5 MB, free: 37.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.213, allocations: 41.94 kB / 421.5 MB, free: 37.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.2152, allocations: 1.474 MB / 423 MB, free: 37.61 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.005162/0.2204, allocations: 6.144 MB / 429.1 MB, free: 34.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.2213, allocations: 0.7869 MB / 429.9 MB, free: 34.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.2217, allocations: 343.5 kB / 430.2 MB, free: 34.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003386/0.225, allocations: 2.903 MB / 433.2 MB, free: 32.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.2251, allocations: 51.25 kB / 433.2 MB, free: 32.65 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002169/0.2253, allocations: 107.6 kB / 433.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 1.954e-06/0.2253, allocations: 0 / 433.3 MB, free: 32.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=95): time 0.008368/0.2337, allocations: 3.971 MB / 437.3 MB, free: 31.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.2337, allocations: 111.1 kB / 437.4 MB, free: 30.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/0.2345, allocations: 1.127 MB / 438.5 MB, free: 30.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.2345, allocations: 40.95 kB / 438.6 MB, free: 30.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.2348, allocations: 0.984 MB / 439.5 MB, free: 29.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.235, allocations: 354.7 kB / 439.9 MB, free: 29.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.2353, allocations: 366.8 kB / 440.2 MB, free: 28.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.2353, allocations: 0.5365 MB / 440.8 MB, free: 28.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.2357, allocations: 289.7 kB / 441.1 MB, free: 28.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.2364, allocations: 1.296 MB / 442.4 MB, free: 26.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2375, allocations: 1.713 MB / 444.1 MB, free: 24.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2375, allocations: 8 kB / 444.1 MB, free: 24.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002425/0.24, allocations: 1.754 MB / 445.8 MB, free: 23.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.24, allocations: 16 kB / 445.8 MB, free: 23.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.24, allocations: 24 kB / 445.9 MB, free: 23.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.2416, allocations: 477.6 kB / 446.3 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.2429, allocations: 0.5631 MB / 446.9 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/0.2466, allocations: 9.724 MB / 456.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.2473, allocations: 86.52 kB / 456.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/0.2474, allocations: 107.9 kB / 456.8 MB, free: 11.74 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.0003006/0.2477, allocations: 282.1 kB / 457.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.2478, allocations: 151.2 kB / 457.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.2499, allocations: 1.255 MB / 458.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2499, allocations: 8 kB / 458.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2499, allocations: 4 kB / 458.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.2499, allocations: 3.984 kB / 458.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.2529, allocations: 2.497 MB / 461 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.2529, allocations: 11.69 kB / 461 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.2534, allocations: 220.9 kB / 461.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.255, allocations: 0.5006 MB / 461.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.2551, allocations: 46.67 kB / 461.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/0.2587, allocations: 9.455 MB / 471.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.2587, allocations: 11.84 kB / 471.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.2614, allocations: 1.936 MB / 473.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2615, allocations: 129.7 kB / 473.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.46e-05/0.2616, allocations: 28 kB / 473.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.262, allocations: 31.98 kB / 473.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2621, allocations: 107.2 kB / 473.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.2621, allocations: 47.98 kB / 473.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005501/0.2627, allocations: 0.6626 MB / 474.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2627, allocations: 0 / 474.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001855/0.2645, allocations: 0.7042 MB / 474.9 MB, free: 9.012 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.0009547/0.2655, allocations: 0.7036 MB / 475.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.2673, allocations: 1.432 MB / 477 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.2673, allocations: 4 kB / 477 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007985/0.2681, allocations: 1.102 MB / 478.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.269, allocations: 254.4 kB / 478.4 MB, free: 5.691 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.003663/0.2726, allocations: 2.72 MB / 481.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.2728, allocations: 273.9 kB / 481.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006054/0.2734, allocations: 301.6 kB / 481.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.2737, allocations: 175.1 kB / 481.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2737, allocations: 0 / 481.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of Templates: time 0.02839/0.3021, allocations: 25.33 MB / 0.4953 GB, free: 9.965 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.8732161610387266]