Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.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.001395/0.001395, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001057/0.001057, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.003/1.003, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.1099/0.1099, allocations: 17.46 MB / 277.7 MB, free: 11.41 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.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 354 MB, free: 9.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.187e-05, allocations: 10.25 kB / 354 MB, free: 9.574 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638: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 master/Obsolete.mo:12638:6-12638: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.Obsolete.Examples.WaterElectrolysis): time 0.03558/0.03561, allocations: 32.3 MB / 386.3 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.04673, allocations: 11.82 MB / 398.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000674/0.04741, allocations: 27.75 kB / 398.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.0481, allocations: 380.6 kB / 398.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.04995, allocations: 1.159 MB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.05281, allocations: 1.834 MB / 401.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.05445, allocations: 2.368 MB / 403.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009645/0.05542, allocations: 1.251 MB / 405.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.05655, allocations: 1.595 MB / 406.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008687/0.05742, allocations: 0.9743 MB / 407.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.05764, allocations: 220 kB / 407.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.0594, allocations: 1.193 MB / 409.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.05969, allocations: 0.5257 MB / 409.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005298/0.06022, allocations: 0.8029 MB / 410.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1544/0.2146, allocations: 2.976 MB / 413.4 MB, free: 42.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2146, allocations: 1.781 kB / 413.4 MB, free: 42.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2146, allocations: 0 / 413.4 MB, free: 42.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001071/0.2147, allocations: 0 / 413.4 MB, free: 42.96 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: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.004503/0.2192, allocations: 2.495 MB / 415.9 MB, free: 41.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2192, allocations: 9.812 kB / 415.9 MB, free: 41.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.2208, allocations: 0.6696 MB / 416.6 MB, free: 41.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.2222, allocations: 0.9111 MB / 417.5 MB, free: 41.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.2224, allocations: 202.7 kB / 417.7 MB, free: 41.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.2226, allocations: 205.4 kB / 417.9 MB, free: 41.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.225, allocations: 1.629 MB / 419.5 MB, free: 40.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.2251, allocations: 8.203 kB / 419.5 MB, free: 40.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.2252, allocations: 86.47 kB / 419.6 MB, free: 40.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/0.2253, allocations: 48.66 kB / 419.7 MB, free: 40.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.2271, allocations: 1.271 MB / 420.9 MB, free: 40.86 MB / 330.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.006774/0.2339, allocations: 6.482 MB / 427.4 MB, free: 37.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.2353, allocations: 1.337 MB / 428.8 MB, free: 37.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.2356, allocations: 317.5 kB / 429.1 MB, free: 37.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004165/0.2398, allocations: 3.193 MB / 432.3 MB, free: 36.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.2398, allocations: 55.33 kB / 432.3 MB, free: 36.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.505e-06/0.2398, allocations: 0 / 432.3 MB, free: 36.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.00771/0.2476, allocations: 3.189 MB / 435.5 MB, free: 35.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.2476, allocations: 116 kB / 435.6 MB, free: 35.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.2482, allocations: 0.8806 MB / 436.5 MB, free: 35.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.2483, allocations: 43.55 kB / 436.5 MB, free: 34.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.2486, allocations: 1.03 MB / 437.6 MB, free: 34.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.2488, allocations: 400.4 kB / 438 MB, free: 33.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.2491, allocations: 362.7 kB / 438.3 MB, free: 33.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.2492, allocations: 0.532 MB / 438.8 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.2495, allocations: 223.9 kB / 439.1 MB, free: 32.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.2499, allocations: 1.294 MB / 440.4 MB, free: 31.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.2509, allocations: 1.692 MB / 442.1 MB, free: 29.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.2509, allocations: 8 kB / 442.1 MB, free: 29.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002195/0.2531, allocations: 1.647 MB / 443.7 MB, free: 27.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2531, allocations: 19.12 kB / 443.7 MB, free: 27.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.2532, allocations: 24 kB / 443.7 MB, free: 27.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.2547, allocations: 448.9 kB / 444.2 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.2555, allocations: 447.3 kB / 444.6 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.2579, allocations: 4.61 MB / 449.2 MB, free: 22.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.2587, allocations: 90.47 kB / 449.3 MB, free: 21.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.2588, allocations: 91.98 kB / 449.4 MB, free: 21.85 MB / 330.7 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.0004357/0.2592, allocations: 284.5 kB / 449.7 MB, free: 21.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.2594, allocations: 148.3 kB / 449.8 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.2614, allocations: 1.251 MB / 451.1 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.2614, allocations: 12 kB / 451.1 MB, free: 20.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2614, allocations: 4 kB / 451.1 MB, free: 20.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.2614, allocations: 13.42 kB / 451.1 MB, free: 20.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2628, allocations: 1.098 MB / 452.2 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.2628, allocations: 10.59 kB / 452.2 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.2634, allocations: 238.6 kB / 452.5 MB, free: 19.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.2649, allocations: 424.1 kB / 452.9 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.265, allocations: 43.98 kB / 452.9 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.2671, allocations: 4.516 MB / 457.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2671, allocations: 4 kB / 457.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.2692, allocations: 1.74 MB / 459.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.2694, allocations: 107.1 kB / 459.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.2695, allocations: 26.66 kB / 459.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.2698, allocations: 31.98 kB / 459.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.27, allocations: 100.8 kB / 459.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.27, allocations: 47.98 kB / 459.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002855/0.2703, allocations: 459 kB / 459.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2703, allocations: 0 / 459.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001813/0.2721, allocations: 0.6157 MB / 460.5 MB, free: 10.77 MB / 330.7 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.000987/0.2731, allocations: 0.5574 MB / 461.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.2747, allocations: 1.259 MB / 462.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2747, allocations: 6.656 kB / 462.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.2753, allocations: 0.7517 MB / 463.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2763, allocations: 266 kB / 463.4 MB, free: 8.137 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.28, allocations: 2.787 MB / 466.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.2802, allocations: 283.8 kB / 466.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006937/0.2809, allocations: 326.1 kB / 466.8 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/0.2814, allocations: 453.9 kB / 467.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2814, allocations: 0 / 467.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of Templates: time 0.03031/0.3117, allocations: 25.15 MB / 492.4 MB, free: 12.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5990227214060724]