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.0009452/0.0009452, allocations: 92.22 kB / 19.65 MB, free: 276 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.001079/0.001079, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9922/0.9922, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.1054/0.1054, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.744e-06/1.744e-06, allocations: 0 / 353.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.894e-05, allocations: 18.12 kB / 353.5 MB, free: 9.859 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.06756/0.06758, allocations: 41.56 MB / 395.1 MB, free: 380 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2198/0.2874, allocations: 17.93 MB / 413 MB, free: 34.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009831/0.2972, allocations: 102.7 kB / 413.1 MB, free: 34.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005105/0.3023, allocations: 1.465 MB / 414.6 MB, free: 33.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.3073, allocations: 2.022 MB / 416.6 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007034/0.3143, allocations: 5.294 MB / 421.9 MB, free: 33.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006423/0.3208, allocations: 5.582 MB / 427.5 MB, free: 31.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.3221, allocations: 1.247 MB / 428.8 MB, free: 31.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.3254, allocations: 3.217 MB / 432 MB, free: 29.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.328, allocations: 2.438 MB / 434.4 MB, free: 28.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008193/0.3288, allocations: 0.527 MB / 434.9 MB, free: 28.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.333, allocations: 2.051 MB / 437 MB, free: 28.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.3337, allocations: 1.679 MB / 438.7 MB, free: 26.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.3353, allocations: 1.874 MB / 440.5 MB, free: 25.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.3401, allocations: 6.353 MB / 446.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3401, allocations: 0 / 446.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3401, allocations: 0 / 446.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.807e-05/0.3401, allocations: 3.938 kB / 446.9 MB, free: 21.11 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.005246/0.3454, allocations: 6.593 MB / 453.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3454, allocations: 12.03 kB / 453.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.3472, allocations: 1.996 MB / 455.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.3493, allocations: 2.653 MB / 458.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.3495, allocations: 0.6582 MB / 458.8 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/0.3499, allocations: 0.4992 MB / 459.3 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.3552, allocations: 6.037 MB / 465.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.854e-05/0.3552, allocations: 2.812 kB / 465.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.3555, allocations: 205.2 kB / 465.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003917/0.3559, allocations: 0.6349 MB / 466.2 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007485/0.3634, allocations: 6.584 MB / 472.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02312/0.3865, allocations: 20.25 MB / 493 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.3896, allocations: 1.257 MB / 494.3 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.3911, allocations: 0.7396 MB / 495 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.4027, allocations: 8.936 MB / 0.4921 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.4027, allocations: 58.08 kB / 0.4922 GB, free: 12.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 3.076e-06/0.4027, allocations: 0 / 0.4922 GB, free: 12.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=273): time 0.04271/0.4454, allocations: 16.54 MB / 0.5083 GB, free: 12.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006867/0.4523, allocations: 5.447 MB / 0.5137 GB, free: 6.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.4545, allocations: 2.321 MB / 0.5159 GB, free: 3.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003908/0.4549, allocations: 65.81 kB / 0.516 GB, free: 3.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.4563, allocations: 2.819 MB / 0.5187 GB, free: 1.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007729/0.4571, allocations: 0.9781 MB / 0.5197 GB, free: 132 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.4584, allocations: 0.8256 MB / 0.5205 GB, free: 15.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4585, allocations: 484.8 kB / 0.521 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.4607, allocations: 1.142 MB / 0.5221 GB, free: 13.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/0.4636, allocations: 2.58 MB / 0.5246 GB, free: 10.48 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.009766/0.4733, allocations: 6.383 MB / 0.5308 GB, free: 3.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.4734, allocations: 12 kB / 0.5308 GB, free: 3.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.009837/0.4832, allocations: 4.866 MB / 0.5356 GB, free: 14.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.4832, allocations: 21.81 kB / 0.5356 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003192/0.4835, allocations: 246.5 kB / 0.5359 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008033/0.4916, allocations: 2.793 MB / 0.5386 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/0.4959, allocations: 1.299 MB / 0.5398 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00878/0.5047, allocations: 8.572 MB / 0.5482 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.5072, allocations: 280.9 kB / 0.5485 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/0.5078, allocations: 435.8 kB / 0.5489 GB, free: 0.7617 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.001824/0.5096, allocations: 366.1 kB / 0.5493 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.5106, allocations: 436.5 kB / 0.5497 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.5225, allocations: 6.786 MB / 0.5563 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.5225, allocations: 33.08 kB / 0.5563 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.5225, allocations: 4 kB / 0.5563 GB, free: 9.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.5225, allocations: 11.95 kB / 0.5563 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1974/0.7199, allocations: 11.72 MB / 0.5678 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/0.72, allocations: 8.875 kB / 0.5678 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/0.7235, allocations: 0.7556 MB / 0.5685 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01184/0.7353, allocations: 2.999 MB / 0.5715 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/0.7356, allocations: 123.8 kB / 0.5716 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007705/0.7433, allocations: 8.811 MB / 0.5802 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005222/0.7485, allocations: 4.902 MB / 0.585 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00914/0.7577, allocations: 4.981 MB / 0.5898 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.7581, allocations: 284.1 kB / 0.5901 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/0.7584, allocations: 51.3 kB / 0.5902 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.7592, allocations: 93.88 kB / 0.5902 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.7597, allocations: 255 kB / 0.5905 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/0.76, allocations: 217.5 kB / 0.5907 GB, free: 109.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001373/0.7613, allocations: 1.395 MB / 0.5921 GB, free: 109.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7613, allocations: 0 / 0.5921 GB, free: 109.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003391/0.7647, allocations: 1.53 MB / 0.5936 GB, free: 109.6 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.0008259/0.7656, allocations: 0.5358 MB / 0.5941 GB, free: 109.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005962/0.7715, allocations: 3.963 MB / 0.5979 GB, free: 108.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7715, allocations: 1.844 kB / 0.5979 GB, free: 108.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002697/0.7742, allocations: 2.163 MB / 0.6001 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.7759, allocations: 0.7161 MB / 0.6008 GB, free: 108.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009973/0.7858, allocations: 9.381 MB / 0.6099 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/0.7866, allocations: 1.172 MB / 0.6111 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001756/0.7884, allocations: 0.887 MB / 0.6119 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.7895, allocations: 361.5 kB / 0.6123 GB, free: 101.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7895, allocations: 0 / 0.6123 GB, free: 101.1 MB / 442.7 MB Notification: Performance of Templates: time 0.07645/0.866, allocations: 101.9 MB / 0.7118 GB, free: 2.047 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.878264757804573]