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.001499/0.001499, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001597/0.001597, allocations: 160.4 kB / 23.01 MB, free: 4.949 MB / 14.72 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.328/1.328, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] 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.1211/0.1211, allocations: 17.36 MB / 277.1 MB, free: 15.29 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 412.4 MB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1016, allocations: 59.85 MB / 472.3 MB, free: 9.777 MB / 446.1 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.2469/0.3485, allocations: 28.77 MB / 0.4893 GB, free: 38.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.3643, allocations: 15.79 MB / 0.5047 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.3655, allocations: 27.09 kB / 0.5047 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.3667, allocations: 457.3 kB / 0.5052 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.37, allocations: 1.3 MB / 0.5065 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006772/0.3768, allocations: 2.574 MB / 0.509 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.3798, allocations: 2.284 MB / 0.5112 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.3814, allocations: 1.188 MB / 0.5124 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.3832, allocations: 1.051 MB / 0.5134 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.3853, allocations: 1.024 MB / 0.5144 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006242/0.3859, allocations: 224.7 kB / 0.5146 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005234/0.3911, allocations: 1.726 MB / 0.5163 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000609/0.3917, allocations: 0.5024 MB / 0.5168 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.3935, allocations: 0.9233 MB / 0.5177 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008413/0.402, allocations: 4.338 MB / 0.5219 GB, free: 22.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.402, allocations: 0 / 0.5219 GB, free: 22.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.402, allocations: 0 / 0.5219 GB, free: 22.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.4021, allocations: 1.438 kB / 0.5219 GB, free: 22.5 MB / 446.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.005864/0.4079, allocations: 2.473 MB / 0.5243 GB, free: 21.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.408, allocations: 9.812 kB / 0.5243 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.4098, allocations: 449.3 kB / 0.5248 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.4119, allocations: 1.053 MB / 0.5258 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.412, allocations: 206.9 kB / 0.526 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.4124, allocations: 205.9 kB / 0.5262 GB, free: 20.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.4158, allocations: 2.15 MB / 0.5283 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/0.4159, allocations: 5.406 kB / 0.5283 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.416, allocations: 78.25 kB / 0.5284 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.4161, allocations: 51.55 kB / 0.5284 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.4191, allocations: 2.221 MB / 0.5306 GB, free: 18.42 MB / 446.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.009025/0.4281, allocations: 5.846 MB / 0.5363 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.4303, allocations: 1.498 MB / 0.5378 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.4311, allocations: 0.5309 MB / 0.5383 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006619/0.4377, allocations: 3.321 MB / 0.5415 GB, free: 9.691 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.4377, allocations: 48.17 kB / 0.5416 GB, free: 9.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.756e-06/0.4377, allocations: 0 / 0.5416 GB, free: 9.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01756/0.4553, allocations: 4.657 MB / 0.5461 GB, free: 5.523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.4553, allocations: 120.4 kB / 0.5462 GB, free: 5.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4563, allocations: 0.8644 MB / 0.5471 GB, free: 4.621 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-05/0.4564, allocations: 45.7 kB / 0.5471 GB, free: 4.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.4569, allocations: 0.9742 MB / 0.5481 GB, free: 3.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.4571, allocations: 394 kB / 0.5484 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/0.4575, allocations: 351.3 kB / 0.5488 GB, free: 3.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.4576, allocations: 356.8 kB / 0.5491 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.4583, allocations: 453.2 kB / 0.5495 GB, free: 2.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009958/0.4593, allocations: 1.195 MB / 0.5507 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.4617, allocations: 1.795 MB / 0.5525 GB, free: 14.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/0.4617, allocations: 8.562 kB / 0.5525 GB, free: 14.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005492/0.4672, allocations: 2.056 MB / 0.5545 GB, free: 12.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.4672, allocations: 18.5 kB / 0.5545 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/0.4673, allocations: 28 kB / 0.5545 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.4698, allocations: 382.7 kB / 0.5549 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.4715, allocations: 446.3 kB / 0.5553 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.4774, allocations: 3.81 MB / 0.559 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4787, allocations: 89.62 kB / 0.5591 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.4789, allocations: 108 kB / 0.5592 GB, free: 8.094 MB / 462.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.0007745/0.4797, allocations: 382.6 kB / 0.5596 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.4801, allocations: 123.2 kB / 0.5597 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004927/0.485, allocations: 1.602 MB / 0.5613 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.485, allocations: 15.94 kB / 0.5613 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.485, allocations: 0 / 0.5613 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.485, allocations: 5.391 kB / 0.5613 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.4872, allocations: 1.12 MB / 0.5624 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4872, allocations: 4 kB / 0.5624 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.4885, allocations: 235.8 kB / 0.5626 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.4909, allocations: 352.7 kB / 0.563 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.491, allocations: 40.78 kB / 0.563 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.4964, allocations: 3.73 MB / 0.5666 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/0.4964, allocations: 4 kB / 0.5666 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/0.5019, allocations: 2.204 MB / 0.5688 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.5023, allocations: 106.5 kB / 0.5689 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.5025, allocations: 24.75 kB / 0.5689 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.5033, allocations: 30.34 kB / 0.5689 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.5035, allocations: 113.3 kB / 0.5691 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.5037, allocations: 48.97 kB / 0.5691 GB, free: 14.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008226/0.5045, allocations: 0.5079 MB / 0.5696 GB, free: 14.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5045, allocations: 0 / 0.5696 GB, free: 14.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002657/0.5071, allocations: 0.7222 MB / 0.5703 GB, free: 13.41 MB / 478.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.001727/0.5089, allocations: 0.7289 MB / 0.571 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.5117, allocations: 1.461 MB / 0.5724 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5117, allocations: 4 kB / 0.5724 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.5131, allocations: 0.7695 MB / 0.5732 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.5145, allocations: 247.8 kB / 0.5734 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.5202, allocations: 3.053 MB / 0.5764 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/0.5212, allocations: 0.6708 MB / 0.5771 GB, free: 6.906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001187/0.5224, allocations: 338.1 kB / 0.5774 GB, free: 6.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.5228, allocations: 208.4 kB / 0.5776 GB, free: 6.371 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5228, allocations: 0 / 0.5776 GB, free: 6.371 MB / 478.1 MB Notification: Performance of Templates: time 0.04236/0.5652, allocations: 24.63 MB / 0.6016 GB, free: 13.92 MB / 0.4981 GB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.49963054805994] Failed to read output from testmodel.py, exit status != 0: 0.5741677499609068 0.588999444 0.18391787 Calling exit ...