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.0009572/0.0009572, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002323, allocations: 440 kB / 10.41 MB, free: 284 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.000727/0.000727, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009286/0.001656, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9163/0.9163, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09226/1.009, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.09508/0.09508, allocations: 17.36 MB / 261.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01034/0.1054, allocations: 6.937 MB / 268.4 MB, free: 6.414 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.062e-06/1.062e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.858e-05, allocations: 6.25 kB / 269.7 MB, free: 5.113 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.1279/0.128, allocations: 8.74 MB / 278.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.1404, allocations: 12.14 MB / 290.6 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.1418, allocations: 34.34 kB / 290.6 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.1426, allocations: 382.8 kB / 291 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.1451, allocations: 1.157 MB / 292.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.149, allocations: 1.816 MB / 294 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.1513, allocations: 2.36 MB / 296.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.1525, allocations: 1.28 MB / 297.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.1541, allocations: 1.666 MB / 299.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.1553, allocations: 0.978 MB / 300.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004134/0.1557, allocations: 222.7 kB / 300.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.1585, allocations: 1.232 MB / 301.7 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.1588, allocations: 382.8 kB / 302.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006497/0.1595, allocations: 0.6434 MB / 302.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.1629, allocations: 2.728 MB / 305.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.163, allocations: 0 / 305.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.163, allocations: 0 / 305.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.81e-05/0.163, allocations: 4 kB / 305.5 MB, free: 14.79 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.003284/0.1663, allocations: 2.93 MB / 308.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1663, allocations: 8.031 kB / 308.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.1674, allocations: 0.7118 MB / 309.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009242/0.1683, allocations: 0.6989 MB / 309.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1685, allocations: 199.9 kB / 310 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.1686, allocations: 200.3 kB / 310.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.1704, allocations: 1.631 MB / 311.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.1704, allocations: 4 kB / 311.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1705, allocations: 76 kB / 311.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.1705, allocations: 52 kB / 312 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1718, allocations: 1.135 MB / 313.1 MB, free: 6.973 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.005605/0.1774, allocations: 5.112 MB / 318.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1788, allocations: 1.293 MB / 319.5 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.1791, allocations: 278.8 kB / 319.8 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00366/0.1827, allocations: 2.675 MB / 322.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1827, allocations: 51.5 kB / 322.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 2.033e-06/0.1827, allocations: 0 / 322.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.008557/0.1913, allocations: 3.851 MB / 326.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1914, allocations: 123.7 kB / 326.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.1919, allocations: 0.7906 MB / 327.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.1919, allocations: 45.7 kB / 327.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.1923, allocations: 0.8939 MB / 328.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.1925, allocations: 396.6 kB / 328.6 MB, free: 7.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.1928, allocations: 351.2 kB / 328.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1929, allocations: 353.8 kB / 329.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.1932, allocations: 206.7 kB / 329.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.1937, allocations: 0.951 MB / 330.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.1951, allocations: 1.449 MB / 331.9 MB, free: 3.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.1951, allocations: 8 kB / 331.9 MB, free: 3.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.001922/0.197, allocations: 1.339 MB / 333.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.197, allocations: 16 kB / 333.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.197, allocations: 27.94 kB / 333.3 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.1985, allocations: 452.9 kB / 333.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/0.1994, allocations: 0.5188 MB / 334.2 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/0.2019, allocations: 3.206 MB / 337.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.2025, allocations: 83.86 kB / 337.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2026, allocations: 93.23 kB / 337.6 MB, free: 13.18 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.0003783/0.203, allocations: 239.9 kB / 337.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.2032, allocations: 99.91 kB / 338 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.2058, allocations: 1.084 MB / 339 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2058, allocations: 15.94 kB / 339.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2058, allocations: 0 / 339.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.2058, allocations: 7.969 kB / 339.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.2072, allocations: 0.976 MB / 340 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/0.2072, allocations: 4.062 kB / 340 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.2081, allocations: 303.6 kB / 340.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.2082, allocations: 99.2 kB / 340.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/0.21, allocations: 424.6 kB / 340.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.2101, allocations: 39.98 kB / 340.9 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.2127, allocations: 3.128 MB / 344 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.2127, allocations: 4 kB / 344 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.215, allocations: 1.403 MB / 345.4 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.2152, allocations: 24 kB / 345.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.2157, allocations: 31.98 kB / 345.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.2159, allocations: 108.7 kB / 345.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/0.2159, allocations: 43.98 kB / 345.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000595/0.2165, allocations: 334.4 kB / 346 MB, free: 4.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2165, allocations: 0 / 346 MB, free: 4.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001754/0.2183, allocations: 0.6123 MB / 346.6 MB, free: 3.879 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.0008277/0.2191, allocations: 0.5432 MB / 347.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.2206, allocations: 1.121 MB / 348.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.925e-05/0.2206, allocations: 29.73 kB / 348.3 MB, free: 2.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.2214, allocations: 0.7031 MB / 349 MB, free: 1.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.2229, allocations: 1.491 MB / 350.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.2382, allocations: 2.778 MB / 353.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2384, allocations: 275.9 kB / 353.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009635/0.2394, allocations: 320.7 kB / 353.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/0.2401, allocations: 418.9 kB / 354.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2401, allocations: 0 / 354.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of Templates: time 0.03201/0.2721, allocations: 24.99 MB / 379.2 MB, free: 3.039 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.334527420811355]