Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterElectrolysis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 106.2 kB / 16.46 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1354/0.1354, allocations: 15.54 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterElectrolysis") translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 445.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1164, allocations: 56.55 MB / 0.4902 GB, free: 4.387 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65: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 1.4.1-master/package.mo:3019:6-3019:65: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. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterElectrolysis): time 0.4601/0.5765, allocations: 29.38 MB / 0.5189 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.5979, allocations: 17.87 MB / 0.5363 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.5994, allocations: 22.91 kB / 0.5364 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.601, allocations: 490.4 kB / 0.5368 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.6057, allocations: 1.319 MB / 0.5381 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008239/0.6139, allocations: 2.546 MB / 0.5406 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003847/0.6178, allocations: 2.283 MB / 0.5428 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.6195, allocations: 1.226 MB / 0.544 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.6209, allocations: 1.036 MB / 0.545 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.6225, allocations: 1.159 MB / 0.5462 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.6227, allocations: 225.1 kB / 0.5464 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006674/0.6294, allocations: 1.833 MB / 0.5482 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006912/0.6301, allocations: 0.506 MB / 0.5487 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.6317, allocations: 1.102 MB / 0.5498 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.6433, allocations: 4.199 MB / 0.5539 GB, free: 3.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6433, allocations: 0 / 0.5539 GB, free: 3.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6433, allocations: 0 / 0.5539 GB, free: 3.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.6434, allocations: 0 / 0.5539 GB, free: 3.598 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.004706/0.6481, allocations: 2.555 MB / 0.5564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.6481, allocations: 11 kB / 0.5564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.6497, allocations: 442.3 kB / 0.5568 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.6515, allocations: 1.121 MB / 0.5579 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.6517, allocations: 180.2 kB / 0.5581 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.6519, allocations: 202 kB / 0.5582 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/0.6553, allocations: 2.125 MB / 0.5603 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.6553, allocations: 3.688 kB / 0.5603 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.6555, allocations: 81.91 kB / 0.5604 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.6556, allocations: 54.64 kB / 0.5605 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.6589, allocations: 2.239 MB / 0.5626 GB, free: 14.21 MB / 414.1 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.01103/0.6699, allocations: 7.344 MB / 0.5698 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.6728, allocations: 1.665 MB / 0.5714 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/0.6737, allocations: 0.5375 MB / 0.572 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009542/0.6832, allocations: 6.377 MB / 0.5782 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.6832, allocations: 43.56 kB / 0.5782 GB, free: 15.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 2.335e-06/0.6832, allocations: 3.938 kB / 0.5782 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.01848/0.7017, allocations: 4.899 MB / 0.583 GB, free: 10.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.7018, allocations: 111.8 kB / 0.5831 GB, free: 10.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.7032, allocations: 0.9197 MB / 0.584 GB, free: 9.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.684e-05/0.7033, allocations: 53.7 kB / 0.5841 GB, free: 9.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.7041, allocations: 0.9632 MB / 0.585 GB, free: 8.316 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000414/0.7046, allocations: 396.7 kB / 0.5854 GB, free: 7.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/0.7051, allocations: 351.4 kB / 0.5857 GB, free: 7.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7053, allocations: 301.1 kB / 0.586 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009135/0.7062, allocations: 455.8 kB / 0.5864 GB, free: 6.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.7078, allocations: 1.199 MB / 0.5876 GB, free: 5.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.7105, allocations: 1.794 MB / 0.5894 GB, free: 3.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/0.7105, allocations: 8 kB / 0.5894 GB, free: 3.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005578/0.7161, allocations: 2.073 MB / 0.5914 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.7161, allocations: 18.97 kB / 0.5914 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/0.7162, allocations: 24 kB / 0.5914 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.7187, allocations: 374.5 kB / 0.5918 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.7205, allocations: 451.3 kB / 0.5922 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/0.7266, allocations: 4.075 MB / 0.5962 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.728, allocations: 91.72 kB / 0.5963 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.7283, allocations: 104 kB / 0.5964 GB, free: 11.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 115 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008612/0.7291, allocations: 385.1 kB / 0.5968 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/0.7295, allocations: 127.2 kB / 0.5969 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.7346, allocations: 1.61 MB / 0.5985 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7347, allocations: 12 kB / 0.5985 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.7347, allocations: 4 kB / 0.5985 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.7347, allocations: 3.984 kB / 0.5985 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.7376, allocations: 1.489 MB / 0.5999 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.7376, allocations: 0 / 0.5999 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.739, allocations: 251.9 kB / 0.6002 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.7414, allocations: 346.2 kB / 0.6005 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.7415, allocations: 43.97 kB / 0.6005 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00611/0.7476, allocations: 3.994 MB / 0.6044 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.7476, allocations: 7.938 kB / 0.6045 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005604/0.7532, allocations: 2.204 MB / 0.6066 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.7537, allocations: 196.2 kB / 0.6068 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.754, allocations: 31.94 kB / 0.6068 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.7548, allocations: 27.98 kB / 0.6068 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.7551, allocations: 100.8 kB / 0.6069 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.7552, allocations: 51.98 kB / 0.607 GB, free: 260 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.7563, allocations: 0.5775 MB / 0.6076 GB, free: 15.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7563, allocations: 4 kB / 0.6076 GB, free: 15.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003209/0.7595, allocations: 0.7288 MB / 0.6083 GB, free: 14.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (O2_gas.logn,H2_gas.logn,anode.temperature,cathode.temperature,water.temperature,air.temperature,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/0.7613, allocations: 0.7309 MB / 0.609 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.7646, allocations: 1.464 MB / 0.6104 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7646, allocations: 0 / 0.6104 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.766, allocations: 0.7776 MB / 0.6112 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.7676, allocations: 240.1 kB / 0.6114 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.774, allocations: 3.051 MB / 0.6144 GB, free: 8.559 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.7757, allocations: 1.251 MB / 0.6156 GB, free: 7.273 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.7771, allocations: 338.5 kB / 0.6159 GB, free: 6.938 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.7777, allocations: 211.3 kB / 0.6161 GB, free: 6.73 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7777, allocations: 0 / 0.6161 GB, free: 6.73 MB / 462.1 MB Notification: Performance of Templates: time 0.05179/0.8295, allocations: 25.63 MB / 0.6412 GB, free: 13.17 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_Chemical.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterElectrolysis.pipe >> ../files/Chemical_Chemical.Examples.WaterElectrolysis.sim & ./Chemical_Chemical.Examples.WaterElectrolysis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.668536587618291]