Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001832/0.001832, allocations: 93.47 kB / 19.44 MB, free: 332 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.001928/0.001928, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.154/0.154, allocations: 17.36 MB / 276.9 MB, free: 11.7 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.781e-05/4.048e-05, allocations: 2.312 kB / 352.7 MB, free: 10.34 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.04727/0.04731, allocations: 30.26 MB / 383 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02966/0.07697, allocations: 17.87 MB / 400.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.07859, allocations: 31.75 kB / 400.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.08046, allocations: 452.3 kB / 401.3 MB, free: 9.789 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.08519, allocations: 1.353 MB / 402.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008309/0.0935, allocations: 2.648 MB / 405.3 MB, free: 5.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.0973, allocations: 2.369 MB / 407.7 MB, free: 3.383 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.09909, allocations: 1.251 MB / 408.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.1011, allocations: 1.54 MB / 410.5 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1445/0.2455, allocations: 0.9427 MB / 411.4 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.2463, allocations: 224.4 kB / 411.6 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007939/0.2542, allocations: 1.738 MB / 413.4 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005737/0.2548, allocations: 0.5163 MB / 413.9 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.2563, allocations: 0.7957 MB / 414.7 MB, free: 36.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.2665, allocations: 4.543 MB / 419.2 MB, free: 36.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2665, allocations: 0 / 419.2 MB, free: 36.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2665, allocations: 1.188 kB / 419.2 MB, free: 36.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.2665, allocations: 0 / 419.2 MB, free: 36.53 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.005533/0.2721, allocations: 2.745 MB / 422 MB, free: 35.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2721, allocations: 9.781 kB / 422 MB, free: 35.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.2741, allocations: 0.73 MB / 422.7 MB, free: 35.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.276, allocations: 1.089 MB / 423.8 MB, free: 34.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.2761, allocations: 203.8 kB / 424 MB, free: 34.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.2764, allocations: 197.3 kB / 424.2 MB, free: 34.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.2799, allocations: 2.258 MB / 426.4 MB, free: 34.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.28, allocations: 3.469 kB / 426.4 MB, free: 34.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.2802, allocations: 83.98 kB / 426.5 MB, free: 34.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.2802, allocations: 48.53 kB / 426.6 MB, free: 34.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.2837, allocations: 2.167 MB / 428.7 MB, free: 33.74 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.01019/0.2939, allocations: 7.321 MB / 436.1 MB, free: 29.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.2961, allocations: 1.475 MB / 437.5 MB, free: 28.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.2968, allocations: 0.5049 MB / 438 MB, free: 28.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00712/0.3039, allocations: 3.605 MB / 441.6 MB, free: 25.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3039, allocations: 54.31 kB / 441.7 MB, free: 25.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.935e-06/0.3039, allocations: 0 / 441.7 MB, free: 25.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01656/0.3205, allocations: 4.646 MB / 446.3 MB, free: 20.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3205, allocations: 122.5 kB / 446.5 MB, free: 20.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3215, allocations: 1.119 MB / 447.6 MB, free: 19.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.3216, allocations: 41.7 kB / 447.6 MB, free: 19.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.3221, allocations: 1.06 MB / 448.7 MB, free: 18.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.3223, allocations: 421.9 kB / 449.1 MB, free: 18.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.3227, allocations: 397 kB / 449.5 MB, free: 17.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3229, allocations: 0.5511 MB / 450 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.3235, allocations: 450.5 kB / 450.5 MB, free: 16.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.3246, allocations: 1.547 MB / 452 MB, free: 14.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.3265, allocations: 2.168 MB / 454.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.3265, allocations: 10.94 kB / 454.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004577/0.331, allocations: 2.131 MB / 456.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.3311, allocations: 18.66 kB / 456.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.3311, allocations: 28 kB / 456.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003532/0.3346, allocations: 0.4995 MB / 456.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.3363, allocations: 450.4 kB / 457.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/0.341, allocations: 5.109 MB / 462.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.3425, allocations: 83.39 kB / 462.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.3426, allocations: 108 kB / 462.6 MB, free: 3.789 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.0007112/0.3434, allocations: 418.8 kB / 463 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.3436, allocations: 151.2 kB / 463.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.3479, allocations: 1.603 MB / 464.8 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3479, allocations: 12 kB / 464.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3479, allocations: 0 / 464.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.3479, allocations: 4.859 kB / 464.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.3499, allocations: 1.407 MB / 466.2 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.3499, allocations: 2.625 kB / 466.2 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.3511, allocations: 241.2 kB / 466.4 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/0.3548, allocations: 480.8 kB / 466.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.3549, allocations: 39.98 kB / 466.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006481/0.3614, allocations: 5.017 MB / 472 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.3614, allocations: 10 kB / 472 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/0.3673, allocations: 2.371 MB / 474.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.3677, allocations: 113.8 kB / 474.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.3679, allocations: 28 kB / 474.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.3686, allocations: 28 kB / 474.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.3689, allocations: 100.3 kB / 474.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.369, allocations: 59.91 kB / 474.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009012/0.3699, allocations: 0.5943 MB / 475.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3699, allocations: 2.656 kB / 475.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003025/0.3729, allocations: 0.725 MB / 476 MB, free: 6.188 MB / 346.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.002175/0.3751, allocations: 0.753 MB / 476.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003219/0.3783, allocations: 1.684 MB / 478.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3783, allocations: 0 / 478.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.3799, allocations: 0.9395 MB / 479.4 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.3814, allocations: 258.2 kB / 479.6 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/0.387, allocations: 2.989 MB / 482.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/0.3878, allocations: 0.672 MB / 483.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001089/0.3889, allocations: 321.5 kB / 483.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.3894, allocations: 213.8 kB / 483.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of SimCode: time 2.385e-06/0.3894, allocations: 0 / 483.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Templates: time 0.04856/0.4379, allocations: 24.98 MB / 0.4968 GB, free: 6.613 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.276549002970569]