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.001422/0.001422, allocations: 92.7 kB / 19.44 MB, free: 324 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.001628/0.001628, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.1477/0.1477, allocations: 17.44 MB / 277 MB, free: 11.59 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.443e-06/1.443e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.091e-05, allocations: 4.844 kB / 352.8 MB, free: 10.21 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.0557/0.05574, allocations: 36.93 MB / 389.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02996/0.0857, allocations: 16.43 MB / 406.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004038/0.08973, allocations: 107.2 kB / 406.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005592/0.09533, allocations: 1.467 MB / 407.7 MB, free: 3.281 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006865/0.1022, allocations: 2.012 MB / 409.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1629/0.2651, allocations: 4.985 MB / 414.7 MB, free: 33.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.2753, allocations: 5.566 MB / 420.3 MB, free: 32.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.2775, allocations: 1.244 MB / 421.5 MB, free: 32.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006913/0.2844, allocations: 3.209 MB / 424.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/0.2891, allocations: 2.381 MB / 427.1 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001432/0.2905, allocations: 0.5276 MB / 427.7 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006459/0.297, allocations: 2.05 MB / 429.7 MB, free: 31.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002311/0.2993, allocations: 1.671 MB / 431.4 MB, free: 30.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005464/0.3047, allocations: 1.875 MB / 433.3 MB, free: 29.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.3181, allocations: 8.634 MB / 441.9 MB, free: 24.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3181, allocations: 4 kB / 441.9 MB, free: 24.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3181, allocations: 0 / 441.9 MB, free: 24.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002362/0.3183, allocations: 0 / 441.9 MB, free: 24.16 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.01205/0.3304, allocations: 6.096 MB / 448 MB, free: 18.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3304, allocations: 8.031 kB / 448 MB, free: 18.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.3339, allocations: 2.054 MB / 450.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.3378, allocations: 2.727 MB / 452.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004555/0.3383, allocations: 0.6588 MB / 453.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006144/0.3389, allocations: 0.4937 MB / 453.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.3556, allocations: 14.47 MB / 468.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.3558, allocations: 192 / 468.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008406/0.3566, allocations: 209.2 kB / 468.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000854/0.3575, allocations: 0.628 MB / 469.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03494/0.3924, allocations: 23.33 MB / 492.6 MB, free: 5.691 MB / 362.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.06277/0.4552, allocations: 27.41 MB / 0.5078 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009699/0.4649, allocations: 5.555 MB / 0.5132 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007259/0.4721, allocations: 4.257 MB / 0.5174 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03508/0.5072, allocations: 15.13 MB / 0.5321 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.5073, allocations: 48.56 kB / 0.5322 GB, free: 1.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 6.161e-06/0.5073, allocations: 2.656 kB / 0.5322 GB, free: 1.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=273): time 0.2844/0.7917, allocations: 41.03 MB / 0.5723 GB, free: 157.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01632/0.808, allocations: 8.253 MB / 0.5803 GB, free: 152.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/0.8115, allocations: 2.258 MB / 0.5825 GB, free: 152.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009332/0.8124, allocations: 64.39 kB / 0.5826 GB, free: 152.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.8139, allocations: 2.632 MB / 0.5852 GB, free: 151 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.8154, allocations: 0.9599 MB / 0.5861 GB, free: 150.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002891/0.8183, allocations: 0.8835 MB / 0.587 GB, free: 150.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.8183, allocations: 305.1 kB / 0.5873 GB, free: 149.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006859/0.8252, allocations: 5.814 MB / 0.5929 GB, free: 146.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007475/0.8327, allocations: 6.806 MB / 0.5996 GB, free: 140.9 MB / 442.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.2795/1.112, allocations: 63.23 MB / 0.6613 GB, free: 78.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.79e-05/1.112, allocations: 8 kB / 0.6613 GB, free: 78.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.03851/1.151, allocations: 14.81 MB / 0.6758 GB, free: 63.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.151, allocations: 20 kB / 0.6758 GB, free: 63.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000832/1.152, allocations: 242.5 kB / 0.6761 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02265/1.174, allocations: 3.934 MB / 0.6799 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/1.188, allocations: 1.394 MB / 0.6813 GB, free: 57.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/1.211, allocations: 10.94 MB / 0.6919 GB, free: 46.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00571/1.217, allocations: 300.9 kB / 0.6922 GB, free: 46.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.218, allocations: 435.8 kB / 0.6926 GB, free: 45.79 MB / 442.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.00395/1.222, allocations: 1.449 MB / 0.6941 GB, free: 44.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002377/1.225, allocations: 440.7 kB / 0.6945 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02737/1.252, allocations: 14.69 MB / 0.7088 GB, free: 29.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/1.252, allocations: 34.12 kB / 0.7088 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/1.252, allocations: 8 kB / 0.7089 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.656e-05/1.252, allocations: 11.95 kB / 0.7089 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03719/1.289, allocations: 18.69 MB / 0.7271 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-05/1.289, allocations: 12 kB / 0.7271 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005894/1.295, allocations: 0.8439 MB / 0.728 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01787/1.313, allocations: 4.111 MB / 0.732 GB, free: 5.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008367/1.314, allocations: 119.9 kB / 0.7321 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2187/1.533, allocations: 11.31 MB / 0.7431 GB, free: 148.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01234/1.545, allocations: 4.868 MB / 0.7479 GB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02724/1.572, allocations: 15.37 MB / 0.7629 GB, free: 140 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008344/1.573, allocations: 281.8 kB / 0.7632 GB, free: 140 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008322/1.574, allocations: 62.94 kB / 0.7632 GB, free: 139.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.576, allocations: 107.8 kB / 0.7633 GB, free: 139.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007417/1.577, allocations: 249.7 kB / 0.7636 GB, free: 139.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003732/1.577, allocations: 220.6 kB / 0.7638 GB, free: 139.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002908/1.58, allocations: 2.087 MB / 0.7658 GB, free: 139 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.58, allocations: 0 / 0.7658 GB, free: 139 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005636/1.586, allocations: 1.54 MB / 0.7673 GB, free: 138.9 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.001451/1.587, allocations: 0.5291 MB / 0.7678 GB, free: 138.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01678/1.604, allocations: 10.92 MB / 0.7785 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.604, allocations: 4 kB / 0.7785 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007866/1.612, allocations: 4.535 MB / 0.7829 GB, free: 124.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/1.617, allocations: 0.7278 MB / 0.7836 GB, free: 123.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/1.639, allocations: 12.44 MB / 0.7958 GB, free: 111.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004351/1.643, allocations: 2.736 MB / 0.7985 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004516/1.648, allocations: 1.222 MB / 0.7997 GB, free: 107.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/1.65, allocations: 370 kB / 0.8 GB, free: 107.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.134e-06/1.65, allocations: 0 / 0.8 GB, free: 107.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1205/1.77, allocations: 101.6 MB / 0.8992 GB, free: 6.566 MB / 442.7 MB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.66765346005559]