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.001583/0.001583, allocations: 88.72 kB / 19.44 MB, free: 352 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.001629/0.001629, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.46/1.46, allocations: 177.1 MB / 203.1 MB, free: 5.332 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.1501/0.1501, allocations: 17.36 MB / 276.9 MB, free: 11.53 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 3.056e-06/3.056e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.94e-05/4.246e-05, allocations: 6.25 kB / 352.7 MB, free: 10.32 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.06526/0.06531, allocations: 29.28 MB / 382 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02611/0.09141, allocations: 15.78 MB / 397.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.0929, allocations: 23.81 kB / 397.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.09463, allocations: 452.2 kB / 398.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.09972, allocations: 1.353 MB / 399.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009167/0.1089, allocations: 2.648 MB / 402.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005184/0.1141, allocations: 2.369 MB / 404.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.1169, allocations: 1.243 MB / 405.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/0.1204, allocations: 1.525 MB / 407.4 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.1229, allocations: 0.8806 MB / 408.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008287/0.1237, allocations: 224 kB / 408.5 MB, free: 2.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006089/0.1298, allocations: 1.743 MB / 410.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.1308, allocations: 0.5061 MB / 410.7 MB, free: 276 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1488/0.2796, allocations: 0.7854 MB / 411.5 MB, free: 37.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009693/0.2893, allocations: 4.528 MB / 416 MB, free: 37.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2893, allocations: 1.094 kB / 416 MB, free: 37.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2893, allocations: 2.625 kB / 416 MB, free: 37.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001131/0.2894, allocations: 0 / 416 MB, free: 37.71 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.005777/0.2952, allocations: 2.46 MB / 418.5 MB, free: 36.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2952, allocations: 10.28 kB / 418.5 MB, free: 36.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.2974, allocations: 0.7279 MB / 419.2 MB, free: 36.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.2994, allocations: 1.08 MB / 420.3 MB, free: 36.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.2996, allocations: 202.6 kB / 420.5 MB, free: 36.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/0.2999, allocations: 201.2 kB / 420.7 MB, free: 36.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.3033, allocations: 2.154 MB / 422.8 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.3034, allocations: 7.375 kB / 422.9 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.3036, allocations: 82.31 kB / 422.9 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.842e-05/0.3036, allocations: 50.81 kB / 423 MB, free: 35.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.3068, allocations: 2.219 MB / 425.2 MB, free: 35.66 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.008546/0.3153, allocations: 5.915 MB / 431.1 MB, free: 32.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.3176, allocations: 1.501 MB / 432.6 MB, free: 31.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.3183, allocations: 0.5264 MB / 433.1 MB, free: 31.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006776/0.3251, allocations: 3.425 MB / 436.6 MB, free: 29.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3251, allocations: 49.38 kB / 436.6 MB, free: 29.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.825e-06/0.3251, allocations: 0 / 436.6 MB, free: 29.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.01846/0.3436, allocations: 4.697 MB / 441.3 MB, free: 26.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3436, allocations: 115.8 kB / 441.4 MB, free: 26.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/0.3445, allocations: 0.8631 MB / 442.3 MB, free: 25.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.3446, allocations: 48.98 kB / 442.3 MB, free: 25.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.3449, allocations: 0.9674 MB / 443.3 MB, free: 24.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.3451, allocations: 397.4 kB / 443.7 MB, free: 24.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.3455, allocations: 347.4 kB / 444 MB, free: 23.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.3456, allocations: 357.9 kB / 444.4 MB, free: 23.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/0.3463, allocations: 451.8 kB / 444.8 MB, free: 22.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009071/0.3472, allocations: 1.19 MB / 446 MB, free: 21.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.3489, allocations: 1.799 MB / 447.8 MB, free: 19.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.3489, allocations: 8 kB / 447.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004813/0.3537, allocations: 2.143 MB / 450 MB, free: 17.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3538, allocations: 16 kB / 450 MB, free: 17.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.3538, allocations: 26.66 kB / 450 MB, free: 17.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00378/0.3576, allocations: 0.4981 MB / 450.5 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.3593, allocations: 443 kB / 450.9 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/0.364, allocations: 3.822 MB / 454.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.3653, allocations: 85.59 kB / 454.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.3655, allocations: 111.3 kB / 454.9 MB, free: 12.27 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.000661/0.3662, allocations: 381.3 kB / 455.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.3665, allocations: 147.2 kB / 455.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/0.371, allocations: 1.603 MB / 457.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.371, allocations: 12 kB / 457.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.371, allocations: 4 kB / 457.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.371, allocations: 10.72 kB / 457.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3727, allocations: 1.109 MB / 458.2 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.3727, allocations: 7.422 kB / 458.2 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.374, allocations: 238.2 kB / 458.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/0.3777, allocations: 481.3 kB / 458.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.3778, allocations: 47.97 kB / 459 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004395/0.3822, allocations: 3.728 MB / 462.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3822, allocations: 4 kB / 462.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/0.3871, allocations: 2.236 MB / 464.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.3875, allocations: 111.1 kB / 465 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.3878, allocations: 28 kB / 465.1 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.3887, allocations: 24 kB / 465.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.389, allocations: 107.4 kB / 465.2 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.3891, allocations: 55.92 kB / 465.2 MB, free: 1.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006767/0.3898, allocations: 0.508 MB / 465.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3898, allocations: 0 / 465.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003035/0.3928, allocations: 0.7296 MB / 466.5 MB, free: 0.6016 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.001881/0.3947, allocations: 0.741 MB / 467.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003493/0.3982, allocations: 1.471 MB / 468.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.3982, allocations: 0 / 468.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.3998, allocations: 0.7789 MB / 469.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.4016, allocations: 259.2 kB / 469.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006296/0.4079, allocations: 2.943 MB / 472.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.409, allocations: 0.6782 MB / 473.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001334/0.4103, allocations: 327 kB / 473.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.4109, allocations: 209.8 kB / 473.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4109, allocations: 4 kB / 473.9 MB, free: 9.57 MB / 346.7 MB Notification: Performance of Templates: time 0.05041/0.4613, allocations: 24.75 MB / 498.6 MB, free: 1.672 MB / 362.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.06440643791575]