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.0006684/0.0006684, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009195/0.001588, 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.0006921/0.0006921, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008105/0.001503, 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.9156/0.9156, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09374/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.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.08936/0.08936, allocations: 17.46 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01782/0.1072, allocations: 6.956 MB / 268.4 MB, free: 6.406 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.863e-06/1.863e-06, allocations: 0 / 269.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.869e-05, allocations: 2.312 kB / 269.7 MB, free: 5.129 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.1442/0.1442, allocations: 8.73 MB / 278.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.1566, allocations: 12.13 MB / 290.5 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.158, allocations: 31.91 kB / 290.6 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.1589, allocations: 382.9 kB / 290.9 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.1616, allocations: 1.16 MB / 292.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.1658, allocations: 1.816 MB / 293.9 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.168, allocations: 2.357 MB / 296.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.1692, allocations: 1.274 MB / 297.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.1707, allocations: 1.669 MB / 299.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.172, allocations: 0.9816 MB / 300.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003372/0.1723, allocations: 222.1 kB / 300.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.175, allocations: 1.236 MB / 301.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.1753, allocations: 382.8 kB / 302 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006618/0.176, allocations: 0.6395 MB / 302.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.1793, allocations: 2.732 MB / 305.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.595e-05/0.1793, allocations: 0 / 305.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1793, allocations: 0 / 305.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.1793, allocations: 0 / 305.4 MB, free: 14.78 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.002947/0.1823, allocations: 2.919 MB / 308.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1823, allocations: 12.03 kB / 308.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.1834, allocations: 0.7003 MB / 309 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.1844, allocations: 0.7027 MB / 309.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.1845, allocations: 207.9 kB / 309.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.1847, allocations: 208.3 kB / 310.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1862, allocations: 1.635 MB / 311.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.1862, allocations: 0 / 311.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.1863, allocations: 80 kB / 311.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.1863, allocations: 48 kB / 311.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1875, allocations: 1.134 MB / 313 MB, free: 6.969 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.0051/0.1926, allocations: 5.107 MB / 318.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.1939, allocations: 1.297 MB / 319.4 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1942, allocations: 274.4 kB / 319.7 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/0.1977, allocations: 2.675 MB / 322.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1977, allocations: 39.56 kB / 322.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 2.945e-06/0.1977, allocations: 0 / 322.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.007325/0.205, allocations: 3.217 MB / 325.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2051, allocations: 115.8 kB / 325.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.2056, allocations: 0.7905 MB / 326.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.2056, allocations: 45.7 kB / 326.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.206, allocations: 0.8901 MB / 327.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.2062, allocations: 412.5 kB / 327.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.2065, allocations: 347.2 kB / 328.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2066, allocations: 361.8 kB / 328.6 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.2068, allocations: 201.6 kB / 328.7 MB, free: 6.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.2074, allocations: 0.9564 MB / 329.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.2083, allocations: 1.363 MB / 331.1 MB, free: 3.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.2084, allocations: 12 kB / 331.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.001897/0.2103, allocations: 1.343 MB / 332.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.2103, allocations: 16 kB / 332.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.2103, allocations: 27.94 kB / 332.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.2117, allocations: 445.1 kB / 332.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.2128, allocations: 0.5226 MB / 333.4 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.2152, allocations: 3.209 MB / 336.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.2157, allocations: 79.86 kB / 336.7 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.2158, allocations: 92.02 kB / 336.8 MB, free: 13.91 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.0003089/0.2161, allocations: 235.9 kB / 337 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.2162, allocations: 103.9 kB / 337.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.2181, allocations: 1.085 MB / 338.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.2181, allocations: 8 kB / 338.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-06/0.2181, allocations: 4 kB / 338.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2181, allocations: 7.969 kB / 338.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2192, allocations: 0.9798 MB / 339.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2192, allocations: 4 kB / 339.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006536/0.2198, allocations: 303.6 kB / 339.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.2199, allocations: 99.2 kB / 339.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.2213, allocations: 417 kB / 340 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.2213, allocations: 39.98 kB / 340.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.2235, allocations: 3.135 MB / 343.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2235, allocations: 4 kB / 343.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.2255, allocations: 1.395 MB / 344.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2256, allocations: 24 kB / 344.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.2259, allocations: 35.98 kB / 344.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.226, allocations: 104.7 kB / 344.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.2261, allocations: 43.98 kB / 344.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002323/0.2263, allocations: 334.4 kB / 345.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2263, allocations: 0 / 345.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001386/0.2277, allocations: 0.6123 MB / 345.7 MB, free: 4.613 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.0006598/0.2284, allocations: 0.5441 MB / 346.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.2295, allocations: 1.093 MB / 347.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.911e-05/0.2295, allocations: 30.61 kB / 347.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.23, allocations: 0.6227 MB / 348 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.2308, allocations: 408.2 kB / 348.4 MB, free: 1.891 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.2421, allocations: 2.775 MB / 351.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.2426, allocations: 283.8 kB / 351.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006888/0.2433, allocations: 311.8 kB / 351.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.2438, allocations: 425 kB / 352.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2438, allocations: 0 / 352.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of Templates: time 0.02847/0.2723, allocations: 25.58 MB / 377.8 MB, free: 4.617 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: 3.2940099202096462]