Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009552/0.0009552, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.00232, 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.0006854/0.0006854, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009377/0.001623, 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.8884/0.8884, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07394/0.9624, allocations: 53.67 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.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.07914/0.07914, allocations: 17.45 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01503/0.09416, allocations: 6.967 MB / 268.6 MB, free: 6.301 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 269.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.685e-05, allocations: 10.25 kB / 269.9 MB, free: 4.992 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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.1-master/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.1212/0.1212, allocations: 8.736 MB / 278.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.1321, allocations: 12.13 MB / 290.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.1327, allocations: 31.22 kB / 290.8 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.1333, allocations: 382.1 kB / 291.1 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.1351, allocations: 1.162 MB / 292.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.1384, allocations: 1.816 MB / 294.1 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.1405, allocations: 2.362 MB / 296.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.1419, allocations: 1.281 MB / 297.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.1433, allocations: 1.662 MB / 299.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1444, allocations: 0.9858 MB / 300.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.1447, allocations: 222 kB / 300.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.1469, allocations: 1.228 MB / 301.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.1471, allocations: 382.8 kB / 302.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.1477, allocations: 0.6395 MB / 302.9 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.15, allocations: 2.736 MB / 305.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.15, allocations: 0 / 305.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.15, allocations: 0 / 305.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.15, allocations: 0 / 305.6 MB, free: 14.59 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.002776/0.1528, allocations: 2.923 MB / 308.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.1528, allocations: 12.03 kB / 308.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.1538, allocations: 0.7081 MB / 309.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.1547, allocations: 0.6872 MB / 309.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.1548, allocations: 203.9 kB / 310.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.155, allocations: 208.2 kB / 310.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.1563, allocations: 1.631 MB / 312 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.1563, allocations: 3.938 kB / 312 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1564, allocations: 80 kB / 312 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.1564, allocations: 55 kB / 312.1 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1578, allocations: 1.139 MB / 313.2 MB, free: 6.773 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.004453/0.1622, allocations: 5.096 MB / 318.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.1634, allocations: 1.308 MB / 319.6 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.1637, allocations: 276 kB / 319.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003319/0.167, allocations: 2.675 MB / 322.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.167, allocations: 43.56 kB / 322.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 1.743e-06/0.167, allocations: 0 / 322.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.00784/0.1749, allocations: 3.856 MB / 326.5 MB, free: 9.262 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1749, allocations: 115.8 kB / 326.6 MB, free: 9.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.1756, allocations: 0.7945 MB / 327.4 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.1756, allocations: 41.7 kB / 327.4 MB, free: 8.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.176, allocations: 0.8939 MB / 328.3 MB, free: 7.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.1761, allocations: 400.7 kB / 328.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.1764, allocations: 351.2 kB / 329.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.1765, allocations: 357.8 kB / 329.4 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.1767, allocations: 206.7 kB / 329.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.1772, allocations: 0.9511 MB / 330.6 MB, free: 4.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/0.1782, allocations: 1.453 MB / 332 MB, free: 2.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1782, allocations: 4 kB / 332 MB, free: 2.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.001777/0.1799, allocations: 1.339 MB / 333.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.18, allocations: 16 kB / 333.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.18, allocations: 27.94 kB / 333.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.1816, allocations: 445.4 kB / 333.8 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.1825, allocations: 0.5266 MB / 334.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.1847, allocations: 3.208 MB / 337.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.1851, allocations: 83.89 kB / 337.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/0.1852, allocations: 93.38 kB / 337.7 MB, free: 12.98 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.0002503/0.1855, allocations: 247.8 kB / 338 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1856, allocations: 95.91 kB / 338.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.1873, allocations: 1.078 MB / 339.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1873, allocations: 12 kB / 339.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1873, allocations: 0 / 339.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1873, allocations: 3.984 kB / 339.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008684/0.1882, allocations: 0.9874 MB / 340.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1882, allocations: 4 kB / 340.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.1889, allocations: 299.6 kB / 340.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.1889, allocations: 103.5 kB / 340.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/0.1905, allocations: 412.7 kB / 341 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.1905, allocations: 47.98 kB / 341 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.1924, allocations: 3.124 MB / 344.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1924, allocations: 11.97 kB / 344.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.1941, allocations: 1.399 MB / 345.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.1942, allocations: 24 kB / 345.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.1944, allocations: 31.98 kB / 345.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.1946, allocations: 104.7 kB / 345.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.1946, allocations: 47.98 kB / 345.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002036/0.1948, allocations: 334.4 kB / 346.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1948, allocations: 0 / 346.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009759/0.1958, allocations: 0.6162 MB / 346.7 MB, free: 3.68 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.0005599/0.1963, allocations: 0.5369 MB / 347.2 MB, free: 3.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1975, allocations: 1.122 MB / 348.3 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.734e-05/0.1975, allocations: 37.88 kB / 348.4 MB, free: 1.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.1981, allocations: 0.6917 MB / 349.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.1991, allocations: 1.498 MB / 350.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.2095, allocations: 2.773 MB / 353.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.2097, allocations: 283.9 kB / 353.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005771/0.2103, allocations: 317.6 kB / 353.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.2108, allocations: 423 kB / 354.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2108, allocations: 0 / 354.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of Templates: time 0.02638/0.2372, allocations: 24.99 MB / 379.3 MB, free: 2.844 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9891487173736095]