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.001029/0.001029, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00113/0.00113, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.1179/0.1179, allocations: 17.46 MB / 277.7 MB, free: 11.63 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.763e-06/1.763e-06, allocations: 0 / 353.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.377e-05, allocations: 2.312 kB / 353.6 MB, free: 10.2 MB / 282.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterElectrolysis): time 0.0474/0.04742, allocations: 41.39 MB / 394.9 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1888/0.2363, allocations: 17.83 MB / 412.8 MB, free: 33.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.2401, allocations: 104.2 kB / 412.9 MB, free: 33.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.2446, allocations: 1.458 MB / 414.3 MB, free: 33.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006055/0.2506, allocations: 2.027 MB / 416.4 MB, free: 33.24 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0086/0.2592, allocations: 5.264 MB / 421.6 MB, free: 32.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008944/0.2682, allocations: 5.568 MB / 427.2 MB, free: 31.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.2703, allocations: 1.251 MB / 428.4 MB, free: 31.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007086/0.2774, allocations: 3.223 MB / 431.7 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/0.2814, allocations: 2.431 MB / 434.1 MB, free: 28.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.2829, allocations: 0.5244 MB / 434.6 MB, free: 28.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005655/0.2886, allocations: 2.056 MB / 436.7 MB, free: 28.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.2898, allocations: 1.68 MB / 438.4 MB, free: 26.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002877/0.2927, allocations: 1.881 MB / 440.2 MB, free: 26.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007868/0.3006, allocations: 6.348 MB / 446.6 MB, free: 21.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3006, allocations: 0 / 446.6 MB, free: 21.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3006, allocations: 0 / 446.6 MB, free: 21.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001721/0.3008, allocations: 0 / 446.6 MB, free: 21.07 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.006512/0.3073, allocations: 6.593 MB / 453.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3073, allocations: 10.66 kB / 453.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.3095, allocations: 1.994 MB / 455.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.3119, allocations: 2.652 MB / 457.8 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.3121, allocations: 0.6567 MB / 458.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.3125, allocations: 0.496 MB / 459 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006049/0.3185, allocations: 6.043 MB / 465 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/0.3186, allocations: 192 / 465 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.3189, allocations: 208 kB / 465.2 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003751/0.3192, allocations: 0.6344 MB / 465.9 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008329/0.3276, allocations: 6.593 MB / 472.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/0.3555, allocations: 20.24 MB / 492.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.3579, allocations: 1.268 MB / 494 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.3594, allocations: 0.7318 MB / 494.7 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.372, allocations: 8.924 MB / 0.4918 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.372, allocations: 60.61 kB / 0.4919 GB, free: 12.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 3.998e-06/0.3721, allocations: 2.688 kB / 0.4919 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=273): time 0.04893/0.421, allocations: 16.54 MB / 0.508 GB, free: 12.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007733/0.4287, allocations: 5.457 MB / 0.5134 GB, free: 6.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.4315, allocations: 2.321 MB / 0.5156 GB, free: 4.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008183/0.4323, allocations: 65.7 kB / 0.5157 GB, free: 4.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.4339, allocations: 2.824 MB / 0.5185 GB, free: 1.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.4352, allocations: 0.9751 MB / 0.5194 GB, free: 304 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001971/0.4372, allocations: 0.8281 MB / 0.5202 GB, free: 15.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4373, allocations: 476.8 kB / 0.5207 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/0.4398, allocations: 1.148 MB / 0.5218 GB, free: 13.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/0.4432, allocations: 2.58 MB / 0.5243 GB, free: 10.65 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.01085/0.454, allocations: 6.383 MB / 0.5305 GB, free: 3.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-05/0.4541, allocations: 8 kB / 0.5305 GB, free: 3.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01121/0.4653, allocations: 4.867 MB / 0.5353 GB, free: 14.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.4653, allocations: 23.94 kB / 0.5353 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003377/0.4657, allocations: 240 kB / 0.5356 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009009/0.4747, allocations: 2.794 MB / 0.5383 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005117/0.4798, allocations: 1.304 MB / 0.5396 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009442/0.4892, allocations: 8.558 MB / 0.5479 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/0.4926, allocations: 282.2 kB / 0.5482 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009814/0.4936, allocations: 430.5 kB / 0.5486 GB, free: 0.9414 MB / 426.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: 145 * 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 (343): * Single equations (assignments): 338 * 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.001977/0.4956, allocations: 368 kB / 0.5489 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/0.4969, allocations: 439 kB / 0.5494 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/0.5098, allocations: 6.787 MB / 0.556 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/0.5098, allocations: 28 kB / 0.556 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.5098, allocations: 4 kB / 0.556 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/0.5098, allocations: 11.95 kB / 0.556 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1877/0.6975, allocations: 11.72 MB / 0.5675 GB, free: 148.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/0.6976, allocations: 13.02 kB / 0.5675 GB, free: 148.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/0.7005, allocations: 0.7554 MB / 0.5682 GB, free: 148.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009952/0.7104, allocations: 3 MB / 0.5712 GB, free: 148.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000631/0.711, allocations: 117.8 kB / 0.5713 GB, free: 148.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008992/0.72, allocations: 8.819 MB / 0.5799 GB, free: 142.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005465/0.7255, allocations: 4.907 MB / 0.5847 GB, free: 138.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009813/0.7353, allocations: 4.977 MB / 0.5895 GB, free: 138 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.7359, allocations: 280.9 kB / 0.5898 GB, free: 138 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/0.7362, allocations: 52.34 kB / 0.5899 GB, free: 138 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/0.7371, allocations: 95.67 kB / 0.5899 GB, free: 138 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005422/0.7377, allocations: 258 kB / 0.5902 GB, free: 138 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/0.738, allocations: 219.2 kB / 0.5904 GB, free: 138 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00144/0.7394, allocations: 1.389 MB / 0.5918 GB, free: 137.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7394, allocations: 0 / 0.5918 GB, free: 137.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003454/0.7428, allocations: 1.531 MB / 0.5933 GB, free: 137.8 MB / 442.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.001054/0.7439, allocations: 0.5392 MB / 0.5938 GB, free: 137.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006548/0.7504, allocations: 3.955 MB / 0.5976 GB, free: 136.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7505, allocations: 4 kB / 0.5976 GB, free: 136.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003086/0.7535, allocations: 2.173 MB / 0.5998 GB, free: 134.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.7555, allocations: 0.7175 MB / 0.6005 GB, free: 133.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.7705, allocations: 9.369 MB / 0.6096 GB, free: 124.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.7717, allocations: 1.175 MB / 0.6108 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004867/0.7766, allocations: 0.8836 MB / 0.6116 GB, free: 123.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002785/0.7794, allocations: 366.8 kB / 0.612 GB, free: 123.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.414e-06/0.7794, allocations: 0 / 0.612 GB, free: 123.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1052/0.8846, allocations: 101.9 MB / 0.7115 GB, free: 22.29 MB / 442.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 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.858967222971842]