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.001261/0.001261, 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.001347/0.001347, allocations: 173 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.9852/0.9852, allocations: 177.1 MB / 203.4 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.09893/0.09893, allocations: 17.46 MB / 277.4 MB, free: 11.57 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 2.134e-06/2.134e-06, allocations: 0 / 353.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.953e-05, allocations: 10.19 kB / 353.5 MB, free: 9.855 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.03878/0.03881, allocations: 41.56 MB / 395.1 MB, free: 384 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2019/0.2407, allocations: 17.94 MB / 413 MB, free: 34.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.2438, allocations: 101.3 kB / 413.1 MB, free: 34.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.2471, allocations: 1.461 MB / 414.6 MB, free: 33.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.2517, allocations: 2.026 MB / 416.6 MB, free: 33.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007594/0.2593, allocations: 5.293 MB / 421.9 MB, free: 33.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006497/0.2658, allocations: 5.588 MB / 427.5 MB, free: 31.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.2671, allocations: 1.246 MB / 428.8 MB, free: 31.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.2705, allocations: 3.217 MB / 432 MB, free: 29.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.2728, allocations: 2.43 MB / 434.4 MB, free: 28.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005879/0.2734, allocations: 0.5276 MB / 434.9 MB, free: 28.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.277, allocations: 2.056 MB / 437 MB, free: 28.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007062/0.2777, allocations: 1.674 MB / 438.7 MB, free: 26.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.279, allocations: 1.879 MB / 440.5 MB, free: 25.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006453/0.2854, allocations: 6.349 MB / 446.9 MB, free: 21.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.2854, allocations: 2.656 kB / 446.9 MB, free: 21.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2854, allocations: 4 kB / 446.9 MB, free: 21.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.263e-05/0.2855, allocations: 0 / 446.9 MB, free: 21.09 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.005515/0.291, allocations: 6.585 MB / 453.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.291, allocations: 12.03 kB / 453.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.2929, allocations: 1.996 MB / 455.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.2949, allocations: 2.646 MB / 458.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.2952, allocations: 0.659 MB / 458.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.2955, allocations: 0.5017 MB / 459.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005302/0.3009, allocations: 6.035 MB / 465.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/0.3009, allocations: 8.172 kB / 465.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.3012, allocations: 207.1 kB / 465.5 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003673/0.3016, allocations: 0.628 MB / 466.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0072/0.3088, allocations: 6.587 MB / 472.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02788/0.3367, allocations: 20.26 MB / 493 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.3393, allocations: 1.259 MB / 494.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.3408, allocations: 0.7357 MB / 495 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.3532, allocations: 8.94 MB / 0.4921 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.3533, allocations: 58.02 kB / 0.4922 GB, free: 12.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 4.329e-06/0.3533, allocations: 0 / 0.4922 GB, free: 12.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=273): time 0.04538/0.3987, allocations: 16.57 MB / 0.5084 GB, free: 11.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007163/0.4058, allocations: 5.446 MB / 0.5137 GB, free: 6.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.4085, allocations: 2.305 MB / 0.5159 GB, free: 3.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009993/0.4095, allocations: 65.7 kB / 0.516 GB, free: 3.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.4112, allocations: 2.821 MB / 0.5188 GB, free: 1.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/0.4126, allocations: 0.9665 MB / 0.5197 GB, free: 104 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/0.4146, allocations: 0.8229 MB / 0.5205 GB, free: 15.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.4148, allocations: 476.8 kB / 0.521 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002914/0.4177, allocations: 1.153 MB / 0.5221 GB, free: 13.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.4214, allocations: 2.557 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.01255/0.4339, allocations: 6.347 MB / 0.5308 GB, free: 3.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.065e-05/0.434, allocations: 8 kB / 0.5308 GB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01328/0.4473, allocations: 4.85 MB / 0.5355 GB, free: 14.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.4473, allocations: 23.94 kB / 0.5356 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004681/0.4478, allocations: 242.5 kB / 0.5358 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.459, allocations: 2.805 MB / 0.5385 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006474/0.4655, allocations: 1.292 MB / 0.5398 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.476, allocations: 8.578 MB / 0.5482 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.4791, allocations: 274.2 kB / 0.5484 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007576/0.4798, allocations: 438.5 kB / 0.5488 GB, free: 0.8203 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: 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.002204/0.482, allocations: 359.5 kB / 0.5492 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/0.4839, allocations: 437.2 kB / 0.5496 GB, free: 32 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.498, allocations: 6.789 MB / 0.5562 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.498, allocations: 32.89 kB / 0.5563 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.498, allocations: 4 kB / 0.5563 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.4981, allocations: 11.95 kB / 0.5563 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1896/0.6876, allocations: 11.73 MB / 0.5677 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/0.6876, allocations: 12.92 kB / 0.5677 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0029/0.6905, allocations: 0.7507 MB / 0.5685 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009756/0.7003, allocations: 3.011 MB / 0.5714 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006532/0.701, allocations: 121.4 kB / 0.5715 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008241/0.7092, allocations: 8.832 MB / 0.5802 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005177/0.7144, allocations: 4.904 MB / 0.585 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/0.7257, allocations: 4.966 MB / 0.5898 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/0.7263, allocations: 288.6 kB / 0.5901 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005739/0.7269, allocations: 54.02 kB / 0.5901 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.7282, allocations: 98.89 kB / 0.5902 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/0.7289, allocations: 250 kB / 0.5905 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003761/0.7293, allocations: 215.3 kB / 0.5907 GB, free: 109.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001917/0.7312, allocations: 1.378 MB / 0.592 GB, free: 109.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7312, allocations: 3 kB / 0.592 GB, free: 109.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004523/0.7357, allocations: 1.532 MB / 0.5935 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.001186/0.7369, allocations: 0.5372 MB / 0.594 GB, free: 109.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008597/0.7455, allocations: 3.949 MB / 0.5979 GB, free: 108.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.7455, allocations: 3.25 kB / 0.5979 GB, free: 108.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004215/0.7497, allocations: 2.165 MB / 0.6 GB, free: 108.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/0.7526, allocations: 0.7222 MB / 0.6007 GB, free: 108.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.7672, allocations: 9.37 MB / 0.6099 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.7684, allocations: 1.172 MB / 0.611 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003048/0.7715, allocations: 0.8753 MB / 0.6119 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/0.7731, allocations: 362.9 kB / 0.6122 GB, free: 101.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.094e-06/0.7731, allocations: 0 / 0.6122 GB, free: 101.1 MB / 442.7 MB Notification: Performance of Templates: time 0.09959/0.8726, allocations: 110.4 MB / 0.72 GB, free: 9.609 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 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.0591604970395565]