Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.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.0006894/0.0006894, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008415/0.001531, 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.0006733/0.0006733, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008648/0.001538, 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.9168/0.9168, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09216/1.009, 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.08341/0.08341, allocations: 17.37 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01308/0.09649, allocations: 6.929 MB / 268.3 MB, free: 6.516 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.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 269.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.51e-05, allocations: 2.312 kB / 269.5 MB, free: 5.246 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.WaterElectrolysis): time 0.1418/0.1419, allocations: 8.74 MB / 278.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.1582, allocations: 12.13 MB / 290.4 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.16, allocations: 25.81 kB / 290.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.1611, allocations: 384.8 kB / 290.8 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.1645, allocations: 1.156 MB / 292 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005335/0.1698, allocations: 1.823 MB / 293.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00366/0.1735, allocations: 2.354 MB / 296.1 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.1754, allocations: 1.272 MB / 297.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.1777, allocations: 1.667 MB / 299.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.1793, allocations: 0.9816 MB / 300.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.1798, allocations: 224.9 kB / 300.3 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.1836, allocations: 1.232 MB / 301.5 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.184, allocations: 390.8 kB / 301.9 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009933/0.185, allocations: 0.6395 MB / 302.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005409/0.1904, allocations: 2.724 MB / 305.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.918e-05/0.1904, allocations: 0 / 305.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1904, allocations: 0 / 305.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.249e-05/0.1905, allocations: 0 / 305.3 MB, free: 14.98 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.003789/0.1943, allocations: 2.934 MB / 308.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1943, allocations: 8.031 kB / 308.2 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.1958, allocations: 0.7079 MB / 308.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1971, allocations: 0.6911 MB / 309.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1973, allocations: 203.9 kB / 309.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.1974, allocations: 208.3 kB / 310 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.1991, allocations: 1.627 MB / 311.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.1991, allocations: 3.984 kB / 311.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1992, allocations: 80 kB / 311.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.1992, allocations: 48 kB / 311.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.2008, allocations: 1.138 MB / 312.9 MB, free: 7.16 MB / 298.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.005629/0.2064, allocations: 5.101 MB / 318 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.2078, allocations: 1.303 MB / 319.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.2082, allocations: 282.1 kB / 319.6 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003525/0.2118, allocations: 2.671 MB / 322.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.2118, allocations: 50.44 kB / 322.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 2.424e-06/0.2118, allocations: 0 / 322.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.00701/0.2188, allocations: 3.216 MB / 325.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2188, allocations: 115.8 kB / 325.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.2193, allocations: 0.7944 MB / 326.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.2194, allocations: 45.7 kB / 326.5 MB, free: 9.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.2199, allocations: 0.8901 MB / 327.4 MB, free: 8.383 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.2202, allocations: 396.6 kB / 327.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.2204, allocations: 355.2 kB / 328.1 MB, free: 7.641 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.2205, allocations: 357.8 kB / 328.4 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.2208, allocations: 198.7 kB / 328.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.2213, allocations: 0.9524 MB / 329.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.2223, allocations: 1.378 MB / 331 MB, free: 4.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.2224, allocations: 4 kB / 331 MB, free: 4.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.001899/0.2242, allocations: 1.343 MB / 332.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2243, allocations: 16 kB / 332.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.2243, allocations: 35.88 kB / 332.4 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.2258, allocations: 441 kB / 332.8 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.2269, allocations: 0.5188 MB / 333.3 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.2293, allocations: 3.202 MB / 336.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.23, allocations: 87.84 kB / 336.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.2301, allocations: 94.36 kB / 336.7 MB, free: 14.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 115 * 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): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003902/0.2305, allocations: 240 kB / 336.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.2307, allocations: 95.91 kB / 337 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.2325, allocations: 1.09 MB / 338.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2325, allocations: 12 kB / 338.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2325, allocations: 0 / 338.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2325, allocations: 7.984 kB / 338.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2336, allocations: 0.9721 MB / 339.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.2337, allocations: 8.062 kB / 339.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.2343, allocations: 295.7 kB / 339.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2344, allocations: 111.1 kB / 339.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.2358, allocations: 412.9 kB / 339.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.2359, allocations: 43.98 kB / 340 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.2381, allocations: 3.127 MB / 343.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.2382, allocations: 4 kB / 343.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.2399, allocations: 1.395 MB / 344.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.24, allocations: 24 kB / 344.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2403, allocations: 32 kB / 344.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.2405, allocations: 112.7 kB / 344.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.2405, allocations: 39.98 kB / 344.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.2408, allocations: 338.4 kB / 345 MB, free: 5.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2408, allocations: 0 / 345 MB, free: 5.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001535/0.2423, allocations: 0.6123 MB / 345.6 MB, free: 4.801 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (O2_gas.logn,H2_gas.logn,anode.temperature,cathode.temperature,water.temperature,air.temperature,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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007837/0.2431, allocations: 0.5452 MB / 346.2 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2442, allocations: 1.089 MB / 347.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.156e-05/0.2443, allocations: 33.78 kB / 347.3 MB, free: 3.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007109/0.245, allocations: 0.6158 MB / 347.9 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.2457, allocations: 395 kB / 348.3 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.2567, allocations: 2.789 MB / 351.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2569, allocations: 279.8 kB / 351.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006791/0.2575, allocations: 323.7 kB / 351.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.2581, allocations: 409 kB / 352.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2581, allocations: 4 kB / 352.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Templates: time 0.02928/0.2873, allocations: 25.59 MB / 377.7 MB, free: 4.801 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3568042889237404]