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.0009975/0.0009975, allocations: 93.06 kB / 19.65 MB, free: 280 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.00107/0.00107, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.976/0.976, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.09355/0.09355, allocations: 17.38 MB / 277.3 MB, free: 11.65 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.723e-06/1.723e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.294e-05, allocations: 4.703 kB / 353.4 MB, free: 9.992 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.03014/0.03017, allocations: 32.4 MB / 385.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.04246, allocations: 12.05 MB / 397.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.04376, allocations: 31.75 kB / 397.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.04479, allocations: 388.6 kB / 398.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.0475, allocations: 1.151 MB / 399.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.05107, allocations: 1.834 MB / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.05421, allocations: 2.369 MB / 403.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.05564, allocations: 1.251 MB / 404.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.05732, allocations: 1.591 MB / 406.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.05856, allocations: 0.9781 MB / 407.5 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.05893, allocations: 220 kB / 407.7 MB, free: 3.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.0615, allocations: 1.193 MB / 408.9 MB, free: 2.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.0619, allocations: 0.5257 MB / 409.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008669/0.06277, allocations: 0.803 MB / 410.2 MB, free: 1.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1542/0.217, allocations: 2.972 MB / 413.2 MB, free: 42.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.217, allocations: 0 / 413.2 MB, free: 42.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.217, allocations: 1.406 kB / 413.2 MB, free: 42.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.928e-05/0.2171, allocations: 0 / 413.2 MB, free: 42.91 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.003943/0.221, allocations: 2.485 MB / 415.7 MB, free: 41.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2211, allocations: 13.12 kB / 415.7 MB, free: 41.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.2224, allocations: 0.6702 MB / 416.3 MB, free: 41.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.2237, allocations: 0.9165 MB / 417.3 MB, free: 41.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.2238, allocations: 204.8 kB / 417.5 MB, free: 41.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.2241, allocations: 203.4 kB / 417.7 MB, free: 41.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.2266, allocations: 1.772 MB / 419.4 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.2266, allocations: 8.281 kB / 419.4 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.2267, allocations: 84.5 kB / 419.5 MB, free: 40.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.2268, allocations: 48.94 kB / 419.6 MB, free: 40.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.2289, allocations: 1.492 MB / 421.1 MB, free: 40.83 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.006338/0.2353, allocations: 6.447 MB / 427.5 MB, free: 37.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.2369, allocations: 1.423 MB / 428.9 MB, free: 37.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.2373, allocations: 367 kB / 429.3 MB, free: 37.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004163/0.2415, allocations: 3.156 MB / 432.4 MB, free: 35.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2415, allocations: 49.98 kB / 432.5 MB, free: 35.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 3.406e-06/0.2415, allocations: 6.156 kB / 432.5 MB, free: 35.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.008734/0.2503, allocations: 4.059 MB / 436.6 MB, free: 34.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2503, allocations: 117.5 kB / 436.7 MB, free: 34.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/0.251, allocations: 0.8799 MB / 437.5 MB, free: 33.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.2511, allocations: 45.55 kB / 437.6 MB, free: 33.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.2515, allocations: 1.028 MB / 438.6 MB, free: 32.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.2516, allocations: 394.1 kB / 439 MB, free: 32.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.2519, allocations: 353 kB / 439.4 MB, free: 31.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.252, allocations: 0.5316 MB / 439.9 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.2524, allocations: 283.8 kB / 440.2 MB, free: 31.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.253, allocations: 1.345 MB / 441.5 MB, free: 29.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2542, allocations: 1.793 MB / 443.3 MB, free: 27.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.2542, allocations: 8 kB / 443.3 MB, free: 27.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002503/0.2567, allocations: 1.784 MB / 445.1 MB, free: 25.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.2568, allocations: 16 kB / 445.1 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.2568, allocations: 28 kB / 445.1 MB, free: 25.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.2584, allocations: 458 kB / 445.6 MB, free: 24.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.2592, allocations: 444.3 kB / 446 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.2618, allocations: 4.666 MB / 450.7 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008725/0.2627, allocations: 89.12 kB / 450.8 MB, free: 19.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.2628, allocations: 104 kB / 450.9 MB, free: 19.48 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.0005523/0.2634, allocations: 287.2 kB / 451.1 MB, free: 19.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.2636, allocations: 151.2 kB / 451.3 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.2658, allocations: 1.34 MB / 452.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2658, allocations: 12 kB / 452.6 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2658, allocations: 3.5 kB / 452.7 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.2658, allocations: 7.969 kB / 452.7 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.2672, allocations: 1.066 MB / 453.7 MB, free: 16.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.2672, allocations: 4 kB / 453.7 MB, free: 16.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.2678, allocations: 241.4 kB / 454 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.2693, allocations: 425.7 kB / 454.4 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/0.2694, allocations: 47.97 kB / 454.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.2717, allocations: 4.567 MB / 459 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2717, allocations: 4 kB / 459 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.274, allocations: 1.875 MB / 460.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.2743, allocations: 111.1 kB / 461 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.2744, allocations: 24 kB / 461 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.2748, allocations: 31.98 kB / 461 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.2749, allocations: 106.2 kB / 461.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.275, allocations: 55.92 kB / 461.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003981/0.2754, allocations: 492 kB / 461.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2754, allocations: 0 / 461.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001755/0.2771, allocations: 0.6195 MB / 462.3 MB, free: 7.82 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.0008857/0.278, allocations: 0.5231 MB / 462.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.2797, allocations: 1.366 MB / 464.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2797, allocations: 6.188 kB / 464.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.2803, allocations: 0.8112 MB / 465 MB, free: 5.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00085/0.2812, allocations: 255.3 kB / 465.3 MB, free: 5.031 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.003891/0.2851, allocations: 2.818 MB / 468.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.2852, allocations: 279.8 kB / 468.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006931/0.2859, allocations: 320.3 kB / 468.7 MB, free: 1.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.2862, allocations: 212.4 kB / 468.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of SimCode: time 2.244e-06/0.2862, allocations: 0 / 468.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of Templates: time 0.03176/0.318, allocations: 24.63 MB / 493.5 MB, free: 9.965 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8529171640984714]