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.001097/0.001097, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001638/0.001638, allocations: 169 kB / 24.06 MB, free: 456 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 0.9889/0.9889, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.09496/0.09496, allocations: 17.46 MB / 278.5 MB, free: 11.41 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.372e-06/1.372e-06, allocations: 0 / 354.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.514e-05, allocations: 5.688 kB / 354.8 MB, free: 10.61 MB / 330.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.02977/0.0298, allocations: 31.63 MB / 386.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.04299, allocations: 14.34 MB / 400.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.04437, allocations: 31.81 kB / 400.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009811/0.04535, allocations: 388.7 kB / 401.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.04822, allocations: 1.214 MB / 402.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.05288, allocations: 2.179 MB / 404.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.05507, allocations: 2.174 MB / 406.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.05616, allocations: 1.116 MB / 407.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.05741, allocations: 1.416 MB / 409.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.05864, allocations: 0.9041 MB / 410.2 MB, free: 3.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.05885, allocations: 199.9 kB / 410.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.06192, allocations: 1.474 MB / 411.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.06225, allocations: 494.4 kB / 412.3 MB, free: 1.012 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.06291, allocations: 0.7094 MB / 413 MB, free: 308 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005098/0.06801, allocations: 3.214 MB / 416.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.06802, allocations: 4 kB / 416.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06802, allocations: 0 / 416.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.06804, allocations: 0 / 416.2 MB, free: 13.07 MB / 394.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.002836/0.07088, allocations: 2.367 MB / 418.6 MB, free: 10.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.07091, allocations: 8.031 kB / 418.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.07214, allocations: 0.7123 MB / 419.3 MB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.07311, allocations: 0.873 MB / 420.2 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.07325, allocations: 230.7 kB / 420.4 MB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.07343, allocations: 164.4 kB / 420.6 MB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.07489, allocations: 1.455 MB / 422.1 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.07492, allocations: 4 kB / 422.1 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.07502, allocations: 64 kB / 422.1 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.07505, allocations: 44 kB / 422.2 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.07642, allocations: 1.264 MB / 423.4 MB, free: 5.684 MB / 394.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.006163/0.08259, allocations: 6.182 MB / 429.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.08339, allocations: 0.7268 MB / 430.3 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.08369, allocations: 286.5 kB / 430.6 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003955/0.08764, allocations: 2.9 MB / 433.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.08767, allocations: 46.05 kB / 433.6 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002606/0.08793, allocations: 103.1 kB / 433.7 MB, free: 11.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 2.395e-06/0.08793, allocations: 0 / 433.7 MB, free: 11.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.008145/0.09608, allocations: 3.135 MB / 436.8 MB, free: 8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.09614, allocations: 115.8 kB / 436.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.09695, allocations: 1.08 MB / 438 MB, free: 6.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.097, allocations: 41.7 kB / 438 MB, free: 6.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007076/0.09771, allocations: 0.9889 MB / 439 MB, free: 5.711 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.09793, allocations: 365 kB / 439.4 MB, free: 5.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/0.09826, allocations: 368.8 kB / 439.7 MB, free: 4.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.09841, allocations: 0.5432 MB / 440.3 MB, free: 4.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.09869, allocations: 223.8 kB / 440.5 MB, free: 4.215 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.09941, allocations: 1.245 MB / 441.7 MB, free: 2.516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.1006, allocations: 1.622 MB / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.1006, allocations: 8 kB / 443.4 MB, free: 440 kB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.1557/0.2563, allocations: 1.607 MB / 445 MB, free: 97.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.2564, allocations: 14.84 kB / 445 MB, free: 97.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.2564, allocations: 22.25 kB / 445 MB, free: 97.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.2581, allocations: 475.2 kB / 445.5 MB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.2594, allocations: 0.5427 MB / 446 MB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.2632, allocations: 9.63 MB / 455.6 MB, free: 88.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.2641, allocations: 84.12 kB / 455.7 MB, free: 88.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.2642, allocations: 91.44 kB / 455.8 MB, free: 88.34 MB / 410.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.0003572/0.2646, allocations: 279.7 kB / 456.1 MB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.2648, allocations: 151.9 kB / 456.2 MB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.2667, allocations: 1.165 MB / 457.4 MB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2667, allocations: 12.72 kB / 457.4 MB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2667, allocations: 2.719 kB / 457.4 MB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2667, allocations: 9.453 kB / 457.4 MB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.2698, allocations: 2.456 MB / 459.9 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2698, allocations: 6.719 kB / 459.9 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.2702, allocations: 214.1 kB / 460.1 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.2719, allocations: 0.4948 MB / 460.6 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.272, allocations: 44.28 kB / 460.6 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/0.2751, allocations: 9.354 MB / 470 MB, free: 78.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2752, allocations: 9.438 kB / 470 MB, free: 78.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.2771, allocations: 1.822 MB / 471.8 MB, free: 77.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.2773, allocations: 112.5 kB / 471.9 MB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2774, allocations: 34.95 kB / 472 MB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.2777, allocations: 29.09 kB / 472 MB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.2778, allocations: 113.4 kB / 472.1 MB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.2779, allocations: 43.94 kB / 472.2 MB, free: 77.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003508/0.2782, allocations: 0.5886 MB / 472.7 MB, free: 77.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2782, allocations: 0 / 472.7 MB, free: 77.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001647/0.2799, allocations: 0.7128 MB / 473.5 MB, free: 77.21 MB / 410.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.0008519/0.2807, allocations: 0.7275 MB / 474.2 MB, free: 77.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.2822, allocations: 1.337 MB / 475.5 MB, free: 76.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2822, allocations: 5.812 kB / 475.5 MB, free: 76.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000576/0.2828, allocations: 1.07 MB / 476.6 MB, free: 76.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.2836, allocations: 245 kB / 476.8 MB, free: 76.03 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.2866, allocations: 2.693 MB / 479.5 MB, free: 74.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2868, allocations: 271.2 kB / 479.8 MB, free: 74.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005993/0.2874, allocations: 280.5 kB / 480.1 MB, free: 74.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/0.2879, allocations: 400.8 kB / 480.5 MB, free: 74.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2879, allocations: 0 / 480.5 MB, free: 74.45 MB / 410.7 MB Notification: Performance of Templates: time 0.03534/0.3232, allocations: 28.99 MB / 0.4975 GB, free: 68.45 MB / 410.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.9717184137552977]