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.0009174/0.0009174, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001002/0.001002, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8718/0.8718, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 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.08058/0.08058, allocations: 17.36 MB / 277.3 MB, free: 11.86 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 1.613e-06/1.613e-06, allocations: 0 / 412.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.884e-05, allocations: 2.281 kB / 412.7 MB, free: 15.94 MB / 394.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.02719/0.02722, allocations: 29.05 MB / 441.8 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1755/0.2027, allocations: 15.78 MB / 457.5 MB, free: 55.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.2038, allocations: 30.62 kB / 457.6 MB, free: 55.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000869/0.2047, allocations: 448.8 kB / 458 MB, free: 55.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.2076, allocations: 1.356 MB / 459.4 MB, free: 54.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004783/0.2123, allocations: 2.648 MB / 462 MB, free: 53.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.2145, allocations: 2.364 MB / 464.4 MB, free: 51.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009904/0.2155, allocations: 1.203 MB / 465.6 MB, free: 51.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.2165, allocations: 1.521 MB / 467.1 MB, free: 50.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.2173, allocations: 0.8885 MB / 468 MB, free: 50.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.2174, allocations: 221.9 kB / 468.2 MB, free: 50.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.2213, allocations: 1.743 MB / 469.9 MB, free: 50.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.2216, allocations: 0.5122 MB / 470.5 MB, free: 49.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006347/0.2223, allocations: 0.7915 MB / 471.3 MB, free: 49.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.2277, allocations: 4.52 MB / 475.8 MB, free: 47.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2277, allocations: 0 / 475.8 MB, free: 47.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2277, allocations: 0 / 475.8 MB, free: 47.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.2277, allocations: 0 / 475.8 MB, free: 47.44 MB / 410.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.002635/0.2304, allocations: 2.454 MB / 478.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2304, allocations: 9.406 kB / 478.2 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008516/0.2313, allocations: 445 kB / 478.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.2323, allocations: 1.051 MB / 479.7 MB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.2325, allocations: 204.8 kB / 479.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.2326, allocations: 204.2 kB / 480.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.2345, allocations: 2.162 MB / 482.3 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.2345, allocations: 6.938 kB / 482.3 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.2346, allocations: 79.28 kB / 482.4 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.2347, allocations: 49.75 kB / 482.4 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.2368, allocations: 2.211 MB / 484.6 MB, free: 43.4 MB / 410.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.005577/0.2423, allocations: 5.844 MB / 490.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.244, allocations: 1.487 MB / 492 MB, free: 39.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.2445, allocations: 0.5281 MB / 492.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004525/0.249, allocations: 3.318 MB / 495.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.249, allocations: 46.56 kB / 495.8 MB, free: 37.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 3.076e-06/0.249, allocations: 0.9688 kB / 495.8 MB, free: 37.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.009355/0.2584, allocations: 4.662 MB / 0.4888 GB, free: 35.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.2584, allocations: 119 kB / 0.4889 GB, free: 35.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.2592, allocations: 0.8618 MB / 0.4897 GB, free: 34.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.2593, allocations: 50.48 kB / 0.4898 GB, free: 34.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.2596, allocations: 0.964 MB / 0.4907 GB, free: 34.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.2598, allocations: 397.8 kB / 0.4911 GB, free: 33.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.2601, allocations: 347.6 kB / 0.4914 GB, free: 33.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.2602, allocations: 355.8 kB / 0.4918 GB, free: 33.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.2607, allocations: 456.1 kB / 0.4922 GB, free: 33.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.2615, allocations: 1.199 MB / 0.4934 GB, free: 32.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.2628, allocations: 1.788 MB / 0.4951 GB, free: 30.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.2629, allocations: 8.531 kB / 0.4951 GB, free: 30.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002902/0.2658, allocations: 2.051 MB / 0.4971 GB, free: 29.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.2658, allocations: 16.95 kB / 0.4972 GB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.2658, allocations: 27.97 kB / 0.4972 GB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.267, allocations: 387.8 kB / 0.4976 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008483/0.2678, allocations: 446 kB / 0.498 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.2705, allocations: 3.8 MB / 0.5017 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/0.2713, allocations: 90.08 kB / 0.5018 GB, free: 26.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.2714, allocations: 108.7 kB / 0.5019 GB, free: 26.25 MB / 410.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.0005562/0.2719, allocations: 377.1 kB / 0.5022 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.2721, allocations: 123 kB / 0.5024 GB, free: 25.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.2746, allocations: 1.599 MB / 0.5039 GB, free: 25.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.2746, allocations: 16.69 kB / 0.5039 GB, free: 25.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2746, allocations: 1.625 kB / 0.5039 GB, free: 25.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.2746, allocations: 5.484 kB / 0.5039 GB, free: 25.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.2758, allocations: 1.116 MB / 0.505 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2758, allocations: 4.844 kB / 0.505 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.2764, allocations: 235 kB / 0.5053 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.2775, allocations: 351.8 kB / 0.5056 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.2775, allocations: 49.84 kB / 0.5056 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.2796, allocations: 3.719 MB / 0.5093 GB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2796, allocations: 10.59 kB / 0.5093 GB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.282, allocations: 2.187 MB / 0.5114 GB, free: 18.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.2822, allocations: 108.9 kB / 0.5115 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.2822, allocations: 28.58 kB / 0.5115 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.2826, allocations: 29.83 kB / 0.5116 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2827, allocations: 104.4 kB / 0.5117 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.2827, allocations: 54.73 kB / 0.5117 GB, free: 17.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003646/0.2831, allocations: 0.5039 MB / 0.5122 GB, free: 17.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2831, allocations: 0 / 0.5122 GB, free: 17.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001568/0.2847, allocations: 0.7291 MB / 0.5129 GB, free: 16.72 MB / 410.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.0007819/0.2854, allocations: 0.7523 MB / 0.5137 GB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.2869, allocations: 1.475 MB / 0.5151 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2869, allocations: 0 / 0.5151 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.2876, allocations: 0.7758 MB / 0.5159 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.2883, allocations: 236.9 kB / 0.5161 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.2911, allocations: 2.943 MB / 0.519 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.2914, allocations: 0.6657 MB / 0.5196 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.2917, allocations: 275.3 kB / 0.5199 GB, free: 10.05 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2917, allocations: 0 / 0.5199 GB, free: 10.05 MB / 410.7 MB Notification: Performance of Templates: time 0.03371/0.3254, allocations: 44.15 MB / 0.563 GB, free: 14.44 MB / 458.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.301030231639743] Failed to read output from testmodel.py, exit status != 0: 0.33237734716385603 0.347170881 0.11661147699999995 Calling exit ...