Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.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.001013/0.001013, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009936/0.0009936, allocations: 181 kB / 23.36 MB, free: 1.129 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.08824/0.08824, allocations: 17.47 MB / 277.7 MB, free: 11.45 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.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis") translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 300.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.094e-05, allocations: 3.625 kB / 300.8 MB, free: 1.676 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343:66: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/Boundaries.mo:1343:7-1343:66: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.Examples.WaterElectrolysis): time 0.04685/0.04687, allocations: 47.1 MB / 347.9 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02585/0.07272, allocations: 18.15 MB / 366 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/0.07658, allocations: 107.2 kB / 366.1 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.08064, allocations: 1.521 MB / 367.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.08642, allocations: 2.028 MB / 369.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007011/0.09343, allocations: 5.263 MB / 374.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00628/0.09971, allocations: 5.573 MB / 380.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.101, allocations: 1.3 MB / 381.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.1044, allocations: 3.22 MB / 385 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.1067, allocations: 2.357 MB / 387.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.1072, allocations: 0.5234 MB / 387.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.1106, allocations: 2.078 MB / 390 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.1119, allocations: 1.667 MB / 391.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.1138, allocations: 1.859 MB / 393.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008691/0.1225, allocations: 6.329 MB / 399.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1225, allocations: 0 / 399.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1225, allocations: 0 / 399.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002518/0.1227, allocations: 3.938 kB / 399.8 MB, free: 0.9531 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.007906/0.1306, allocations: 5.921 MB / 405.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1307, allocations: 8.031 kB / 405.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.1332, allocations: 1.781 MB / 407.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.136, allocations: 1.788 MB / 409.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004293/0.1364, allocations: 0.6598 MB / 410 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004711/0.1369, allocations: 0.4886 MB / 410.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008347/0.1453, allocations: 5.306 MB / 415.8 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.1454, allocations: 192 / 415.8 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.1458, allocations: 204.1 kB / 416 MB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.1468, allocations: 0.6281 MB / 416.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009581/0.1564, allocations: 5.225 MB / 421.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.1806, allocations: 16.07 MB / 437.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.1822, allocations: 1.034 MB / 438.9 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000881/0.1831, allocations: 498.7 kB / 439.4 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.1938, allocations: 7.246 MB / 446.7 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.1939, allocations: 48.56 kB / 446.7 MB, free: 1.578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.188e-06/0.1939, allocations: 4 kB / 446.7 MB, free: 1.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=273): time 0.1979/0.3918, allocations: 12.44 MB / 459.2 MB, free: 93.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00541/0.3972, allocations: 3.93 MB / 463.1 MB, free: 90.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.3987, allocations: 1.771 MB / 464.9 MB, free: 90.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006092/0.3993, allocations: 65.3 kB / 464.9 MB, free: 90.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.4001, allocations: 2.25 MB / 467.2 MB, free: 89.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009391/0.4011, allocations: 0.9637 MB / 468.1 MB, free: 88.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.4023, allocations: 0.6849 MB / 468.8 MB, free: 88.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.592e-05/0.4023, allocations: 302.6 kB / 469.1 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.4042, allocations: 0.9176 MB / 470 MB, free: 88.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.4063, allocations: 1.9 MB / 471.9 MB, free: 87.42 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: electrone.state_out.u = 96485.33212331001 * electrone.definition.data.z * electrone.v_start (0.0 = 96485.33212331001 * electrone.definition.data.z * electrone.v_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/0.4141, allocations: 5.14 MB / 477.1 MB, free: 86.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.4142, allocations: 11.72 kB / 477.1 MB, free: 86.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.00779/0.422, allocations: 3.605 MB / 480.7 MB, free: 86.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.422, allocations: 21.88 kB / 480.7 MB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003183/0.4223, allocations: 156 kB / 480.9 MB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007229/0.4295, allocations: 2.203 MB / 483.1 MB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/0.4351, allocations: 1.392 MB / 484.5 MB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006328/0.4414, allocations: 6.206 MB / 490.7 MB, free: 79.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.4447, allocations: 141.7 kB / 490.8 MB, free: 79.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006631/0.4454, allocations: 353.5 kB / 491.2 MB, free: 78.73 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: electrone.state_out.u = 96485.33212331001 * electrone.definition.data.z * electrone.v_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 4 (reaction.processDefinition.data.phase,reaction.processDefinition.SelfClustering,liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,77.8%), (1,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001938/0.4473, allocations: 320.8 kB / 491.5 MB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009433/0.4483, allocations: 316.6 kB / 491.8 MB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00863/0.4569, allocations: 5.425 MB / 497.2 MB, free: 73.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4569, allocations: 31.69 kB / 497.2 MB, free: 73.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4569, allocations: 7.938 kB / 497.2 MB, free: 73.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.457, allocations: 11.95 kB / 497.3 MB, free: 73.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.4702, allocations: 7.718 MB / 0.4931 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.4702, allocations: 8 kB / 0.4932 GB, free: 66.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/0.4733, allocations: 0.9516 MB / 0.4941 GB, free: 65.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00767/0.481, allocations: 2.545 MB / 0.4966 GB, free: 63.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005139/0.4815, allocations: 83.94 kB / 0.4966 GB, free: 63.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005977/0.4875, allocations: 6.409 MB / 0.5029 GB, free: 56.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004579/0.4921, allocations: 3.587 MB / 0.5064 GB, free: 52.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008949/0.501, allocations: 3.719 MB / 0.51 GB, free: 49.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.5016, allocations: 280.4 kB / 0.5103 GB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/0.5021, allocations: 53.91 kB / 0.5104 GB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5031, allocations: 77.25 kB / 0.5104 GB, free: 48.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006023/0.5037, allocations: 221.3 kB / 0.5106 GB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/0.504, allocations: 171.9 kB / 0.5108 GB, free: 48.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000948/0.505, allocations: 0.9701 MB / 0.5118 GB, free: 47.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.505, allocations: 0 / 0.5118 GB, free: 47.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004344/0.5093, allocations: 1.531 MB / 0.5132 GB, free: 46.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 ($STATESET1.x,O2_gas.logn,H2_gas.logn,reaction.rr,anode.temperature,cathode.temperature,liquidWater.logm) * Number of discrete variables: 5 ($cse15.data.phase,$cse15.SelfClustering,$cse16.data.phase,$cse16.SelfClustering,reaction.processDefinition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,88.9%), (1,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,22), (5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009949/0.5103, allocations: 0.5393 MB / 0.5138 GB, free: 45.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006875/0.5172, allocations: 3.099 MB / 0.5168 GB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.556e-05/0.5173, allocations: 39.84 kB / 0.5168 GB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.5203, allocations: 1.657 MB / 0.5185 GB, free: 41.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.5227, allocations: 0.6787 MB / 0.5191 GB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.5374, allocations: 9.247 MB / 0.5282 GB, free: 31.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.5387, allocations: 1.132 MB / 0.5293 GB, free: 30 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002719/0.5414, allocations: 0.8143 MB / 0.5301 GB, free: 29.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00247/0.5439, allocations: 0.7293 MB / 0.5308 GB, free: 28.57 MB / 410.7 MB Notification: Performance of SimCode: time 3.526e-06/0.5439, allocations: 2.688 kB / 0.5308 GB, free: 28.57 MB / 410.7 MB Notification: Performance of Templates: time 0.2589/0.8028, allocations: 111.5 MB / 0.6397 GB, free: 120.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.612258603796363]