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.001464/0.001464, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001689/0.001689, allocations: 157.7 kB / 22.75 MB, free: 1.688 MB / 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 1.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.1456/0.1456, allocations: 17.46 MB / 277 MB, free: 11.6 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.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.994e-06/1.994e-06, allocations: 0 / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.636e-05, allocations: 10.25 kB / 352.8 MB, free: 10.21 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.04968/0.04972, allocations: 29.28 MB / 382.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02552/0.07524, allocations: 15.78 MB / 397.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.07664, allocations: 27.81 kB / 397.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.07833, allocations: 456.1 kB / 398.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.08294, allocations: 1.357 MB / 399.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007743/0.09068, allocations: 2.644 MB / 402.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004176/0.09486, allocations: 2.369 MB / 404.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.09705, allocations: 1.243 MB / 405.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.09991, allocations: 1.521 MB / 407.5 MB, free: 3.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.1019, allocations: 0.8883 MB / 408.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006388/0.1025, allocations: 224 kB / 408.6 MB, free: 2.414 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.1083, allocations: 1.743 MB / 410.3 MB, free: 0.668 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007695/0.109, allocations: 0.51 MB / 410.8 MB, free: 160 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1718/0.2809, allocations: 0.7818 MB / 411.6 MB, free: 37.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.2939, allocations: 4.526 MB / 416.1 MB, free: 37.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.2939, allocations: 1.594 kB / 416.1 MB, free: 37.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2939, allocations: 0 / 416.1 MB, free: 37.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.294, allocations: 3.156 kB / 416.1 MB, free: 37.67 MB / 330.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.01035/0.3044, allocations: 2.457 MB / 418.6 MB, free: 36.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.3044, allocations: 10.06 kB / 418.6 MB, free: 36.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/0.3086, allocations: 0.7374 MB / 419.3 MB, free: 36.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/0.3127, allocations: 1.077 MB / 420.4 MB, free: 36.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.3131, allocations: 207.6 kB / 420.6 MB, free: 35.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3141, allocations: 196 kB / 420.8 MB, free: 35.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008265/0.3224, allocations: 2.158 MB / 423 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.3225, allocations: 4.531 kB / 423 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007332/0.3232, allocations: 88.66 kB / 423.1 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.3233, allocations: 48.66 kB / 423.1 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005968/0.3293, allocations: 2.211 MB / 425.3 MB, free: 35.55 MB / 330.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.01633/0.3456, allocations: 5.911 MB / 431.2 MB, free: 32.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/0.3495, allocations: 1.5 MB / 432.7 MB, free: 31.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.3507, allocations: 0.5221 MB / 433.3 MB, free: 31.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.3623, allocations: 3.431 MB / 436.7 MB, free: 29.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.3623, allocations: 50.48 kB / 436.7 MB, free: 29.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.875e-06/0.3623, allocations: 0 / 436.7 MB, free: 29.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01846/0.3808, allocations: 4.689 MB / 441.4 MB, free: 26.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3808, allocations: 121.9 kB / 441.5 MB, free: 26.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3819, allocations: 0.8553 MB / 442.4 MB, free: 25.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.382, allocations: 49.7 kB / 442.4 MB, free: 25.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.3824, allocations: 0.9679 MB / 443.4 MB, free: 24.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.3827, allocations: 397.5 kB / 443.8 MB, free: 24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.3831, allocations: 347.4 kB / 444.1 MB, free: 23.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.3832, allocations: 353.9 kB / 444.5 MB, free: 23.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007307/0.3839, allocations: 461.3 kB / 444.9 MB, free: 22.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.3849, allocations: 1.193 MB / 446.1 MB, free: 21.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.3869, allocations: 1.793 MB / 447.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.3869, allocations: 8 kB / 447.9 MB, free: 19.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005085/0.392, allocations: 2.143 MB / 450.1 MB, free: 17.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.392, allocations: 19.28 kB / 450.1 MB, free: 17.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.3921, allocations: 24 kB / 450.1 MB, free: 17.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/0.3958, allocations: 0.4957 MB / 450.6 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.3976, allocations: 447.9 kB / 451.1 MB, free: 16.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/0.402, allocations: 3.821 MB / 454.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4035, allocations: 82.55 kB / 455 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.4038, allocations: 104 kB / 455.1 MB, free: 12.23 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.0008338/0.4046, allocations: 383.7 kB / 455.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.405, allocations: 151.2 kB / 455.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/0.4096, allocations: 1.601 MB / 457.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4096, allocations: 14.66 kB / 457.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4096, allocations: 0 / 457.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.4096, allocations: 7.984 kB / 457.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.4114, allocations: 1.12 MB / 458.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4114, allocations: 4 kB / 458.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.4126, allocations: 241.2 kB / 458.6 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/0.4161, allocations: 480.7 kB / 459 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.4162, allocations: 50.62 kB / 459.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004089/0.4203, allocations: 3.729 MB / 462.8 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4203, allocations: 6.281 kB / 462.8 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/0.425, allocations: 2.223 MB / 465 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.4254, allocations: 115.1 kB / 465.2 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.4256, allocations: 26.69 kB / 465.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008527/0.4265, allocations: 31.98 kB / 465.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.4267, allocations: 104.1 kB / 465.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4268, allocations: 58.92 kB / 465.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006353/0.4274, allocations: 0.5045 MB / 465.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4274, allocations: 0 / 465.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002596/0.43, allocations: 0.7288 MB / 466.6 MB, free: 0.5469 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.001664/0.4317, allocations: 0.7471 MB / 467.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00314/0.4348, allocations: 1.462 MB / 468.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.4348, allocations: 4 kB / 468.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.4364, allocations: 0.7752 MB / 469.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.438, allocations: 265.4 kB / 469.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/0.4439, allocations: 2.936 MB / 472.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009575/0.4449, allocations: 0.6695 MB / 473.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001177/0.4461, allocations: 337.7 kB / 473.8 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/0.4466, allocations: 209.8 kB / 474 MB, free: 9.531 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4466, allocations: 2.625 kB / 474 MB, free: 9.531 MB / 346.7 MB Notification: Performance of Templates: time 0.04841/0.495, allocations: 24.75 MB / 498.7 MB, free: 1.637 MB / 362.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.99358771101106]