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.001804/0.001804, allocations: 85.48 kB / 19.44 MB, free: 340 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.00202/0.00202, allocations: 177.2 kB / 22.77 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1564/0.1564, allocations: 17.45 MB / 277 MB, free: 11.6 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.603e-06/1.603e-06, allocations: 0 / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.585e-05, allocations: 4.422 kB / 352.8 MB, free: 10.19 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.05929/0.05932, allocations: 39.13 MB / 391.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03324/0.09257, allocations: 17.83 MB / 409.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006305/0.09887, allocations: 107.2 kB / 409.9 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2141/0.313, allocations: 1.455 MB / 411.3 MB, free: 32.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009227/0.3222, allocations: 2.025 MB / 413.4 MB, free: 32.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01185/0.3341, allocations: 5.273 MB / 418.6 MB, free: 31.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.3442, allocations: 5.565 MB / 424.2 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.3468, allocations: 1.242 MB / 425.4 MB, free: 30.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006776/0.3536, allocations: 3.221 MB / 428.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004554/0.3581, allocations: 2.419 MB / 431.1 MB, free: 28.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.3596, allocations: 0.5263 MB / 431.6 MB, free: 28.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007291/0.3669, allocations: 2.06 MB / 433.7 MB, free: 28.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.3688, allocations: 1.675 MB / 435.3 MB, free: 27.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003936/0.3727, allocations: 1.875 MB / 437.2 MB, free: 26.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.3837, allocations: 8.65 MB / 445.9 MB, free: 19.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3837, allocations: 0 / 445.9 MB, free: 19.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3837, allocations: 0 / 445.9 MB, free: 19.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000218/0.3839, allocations: 0 / 445.9 MB, free: 19.95 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.01176/0.3957, allocations: 6.961 MB / 452.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3957, allocations: 12.02 kB / 452.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.399, allocations: 1.987 MB / 454.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/0.4029, allocations: 2.669 MB / 457.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/0.4033, allocations: 0.6584 MB / 458.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.4038, allocations: 0.4902 MB / 458.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.4139, allocations: 7.172 MB / 465.8 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.414, allocations: 6.844 kB / 465.8 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004394/0.4144, allocations: 205.2 kB / 466 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008033/0.4152, allocations: 0.6355 MB / 466.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.4334, allocations: 10.58 MB / 477.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06748/0.5009, allocations: 27.74 MB / 0.4931 GB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007123/0.508, allocations: 2.424 MB / 0.4955 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004291/0.5123, allocations: 1.704 MB / 0.4972 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03134/0.5436, allocations: 10.72 MB / 0.5076 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/0.5437, allocations: 55.39 kB / 0.5077 GB, free: 10.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=214): time 4.859e-06/0.5437, allocations: 0 / 0.5077 GB, free: 10.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=273): time 0.1079/0.6516, allocations: 23.15 MB / 0.5303 GB, free: 3.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01783/0.6694, allocations: 7.145 MB / 0.5373 GB, free: 11.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006416/0.6758, allocations: 2.841 MB / 0.54 GB, free: 8.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009664/0.6768, allocations: 65.7 kB / 0.5401 GB, free: 8.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003214/0.68, allocations: 2.936 MB / 0.543 GB, free: 5.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002201/0.6822, allocations: 1.026 MB / 0.544 GB, free: 4.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003671/0.6859, allocations: 0.9362 MB / 0.5449 GB, free: 3.855 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004277/0.6863, allocations: 476.8 kB / 0.5453 GB, free: 3.387 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006396/0.6927, allocations: 2.47 MB / 0.5478 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007943/0.7006, allocations: 3.986 MB / 0.5516 GB, free: 12.34 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.4678/1.168, allocations: 46.14 MB / 0.5967 GB, free: 136.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.378e-05/1.168, allocations: 8 kB / 0.5967 GB, free: 136.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02268/1.191, allocations: 7.75 MB / 0.6043 GB, free: 129.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/1.191, allocations: 20 kB / 0.6043 GB, free: 129.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005144/1.192, allocations: 246.6 kB / 0.6045 GB, free: 129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/1.208, allocations: 3.21 MB / 0.6077 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009808/1.218, allocations: 1.308 MB / 0.6089 GB, free: 124.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/1.233, allocations: 10.93 MB / 0.6196 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/1.238, allocations: 285.5 kB / 0.6199 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.239, allocations: 434.5 kB / 0.6203 GB, free: 112.7 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: 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.003296/1.243, allocations: 0.8007 MB / 0.6211 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002094/1.245, allocations: 439.8 kB / 0.6215 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02276/1.267, allocations: 9.308 MB / 0.6306 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.412e-05/1.268, allocations: 35.81 kB / 0.6306 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.268, allocations: 6.719 kB / 0.6306 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.409e-05/1.268, allocations: 11.95 kB / 0.6306 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03538/1.303, allocations: 14.85 MB / 0.6451 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-05/1.303, allocations: 15.98 kB / 0.6452 GB, free: 87.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005963/1.309, allocations: 0.7505 MB / 0.6459 GB, free: 86.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/1.326, allocations: 3.366 MB / 0.6492 GB, free: 83.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008418/1.327, allocations: 122.6 kB / 0.6493 GB, free: 83.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/1.342, allocations: 11.2 MB / 0.6602 GB, free: 71.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01094/1.353, allocations: 5.907 MB / 0.666 GB, free: 65.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/1.374, allocations: 8.202 MB / 0.674 GB, free: 57.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.375, allocations: 286.5 kB / 0.6743 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/1.376, allocations: 53.92 kB / 0.6743 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/1.379, allocations: 99.86 kB / 0.6744 GB, free: 56.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009316/1.38, allocations: 257.4 kB / 0.6747 GB, free: 56.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005589/1.38, allocations: 218.6 kB / 0.6749 GB, free: 56.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002776/1.383, allocations: 1.737 MB / 0.6766 GB, free: 54.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/1.383, allocations: 0 / 0.6766 GB, free: 54.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00536/1.388, allocations: 1.533 MB / 0.6781 GB, free: 53.23 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.001574/1.39, allocations: 0.53 MB / 0.6786 GB, free: 52.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01277/1.403, allocations: 6.141 MB / 0.6846 GB, free: 46.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/1.403, allocations: 0 / 0.6846 GB, free: 46.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006449/1.409, allocations: 3.009 MB / 0.6875 GB, free: 43.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00476/1.414, allocations: 0.7223 MB / 0.6882 GB, free: 42.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.435, allocations: 10.25 MB / 0.6983 GB, free: 32.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00459/1.44, allocations: 2.586 MB / 0.7008 GB, free: 29.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004025/1.444, allocations: 0.8809 MB / 0.7016 GB, free: 29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/1.446, allocations: 368.3 kB / 0.702 GB, free: 28.64 MB / 442.7 MB Notification: Performance of SimCode: time 2.314e-06/1.446, allocations: 0 / 0.702 GB, free: 28.64 MB / 442.7 MB Notification: Performance of Templates: time 0.2943/1.74, allocations: 101.8 MB / 0.8014 GB, free: 89.87 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=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 9.53125681891106]