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.001295/0.001295, allocations: 89.06 kB / 19.64 MB, free: 276 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.00159/0.00159, allocations: 169 kB / 23.02 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.9592/0.9592, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.08856/0.08856, allocations: 17.38 MB / 277.3 MB, free: 11.66 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.153e-06/1.153e-06, allocations: 0 / 353.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.984e-05, allocations: 2.312 kB / 353.4 MB, free: 9.984 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.02635/0.02637, allocations: 32.4 MB / 385.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.03791, allocations: 12.05 MB / 397.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.0394, allocations: 31.75 kB / 397.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.04034, allocations: 380.6 kB / 398.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.0429, allocations: 1.167 MB / 399.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.04717, allocations: 1.818 MB / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.05004, allocations: 2.365 MB / 403.6 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.05134, allocations: 1.251 MB / 404.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.0528, allocations: 1.536 MB / 406.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.05389, allocations: 0.9508 MB / 407.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.05416, allocations: 224 kB / 407.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.05679, allocations: 1.197 MB / 408.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003759/0.05717, allocations: 0.5178 MB / 409.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008628/0.05803, allocations: 0.7952 MB / 410.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1446/0.2027, allocations: 2.921 MB / 413 MB, free: 43.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2027, allocations: 3.969 kB / 413 MB, free: 43.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2027, allocations: 0 / 413 MB, free: 43.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.581e-05/0.2028, allocations: 3.375 kB / 413 MB, free: 43.43 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.004034/0.2068, allocations: 2.458 MB / 415.5 MB, free: 42.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.2069, allocations: 10.47 kB / 415.5 MB, free: 42.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.2086, allocations: 0.7314 MB / 416.2 MB, free: 42.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.2104, allocations: 1.077 MB / 417.3 MB, free: 41.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.2106, allocations: 205.9 kB / 417.5 MB, free: 41.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.2109, allocations: 198.4 kB / 417.7 MB, free: 41.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.2135, allocations: 1.781 MB / 419.5 MB, free: 41.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/0.2135, allocations: 5.641 kB / 419.5 MB, free: 41.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.2136, allocations: 84.31 kB / 419.6 MB, free: 41.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/0.2137, allocations: 48.88 kB / 419.6 MB, free: 41.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.2159, allocations: 1.489 MB / 421.1 MB, free: 41.34 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.006354/0.2222, allocations: 6.43 MB / 427.5 MB, free: 38.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.2239, allocations: 1.43 MB / 429 MB, free: 37.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.2243, allocations: 367.6 kB / 429.3 MB, free: 37.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003996/0.2283, allocations: 3.139 MB / 432.5 MB, free: 36.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2284, allocations: 48.59 kB / 432.5 MB, free: 36.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.154e-06/0.2284, allocations: 5.938 kB / 432.5 MB, free: 36.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.008565/0.2369, allocations: 4.059 MB / 436.6 MB, free: 34.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.237, allocations: 115.4 kB / 436.7 MB, free: 34.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000625/0.2376, allocations: 0.8792 MB / 437.6 MB, free: 33.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.2376, allocations: 49.08 kB / 437.6 MB, free: 33.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.2379, allocations: 1.031 MB / 438.6 MB, free: 32.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.2381, allocations: 395.5 kB / 439 MB, free: 32.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.2383, allocations: 349 kB / 439.4 MB, free: 32.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.2384, allocations: 0.5316 MB / 439.9 MB, free: 31.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.2388, allocations: 286.5 kB / 440.2 MB, free: 31.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.2393, allocations: 1.346 MB / 441.5 MB, free: 29.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2405, allocations: 1.787 MB / 443.3 MB, free: 27.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.2405, allocations: 8 kB / 443.3 MB, free: 27.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002493/0.243, allocations: 1.788 MB / 445.1 MB, free: 25.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.243, allocations: 16 kB / 445.1 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.243, allocations: 28 kB / 445.1 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.2446, allocations: 454.5 kB / 445.6 MB, free: 25.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.2455, allocations: 446.5 kB / 446 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.248, allocations: 4.67 MB / 450.7 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007274/0.2487, allocations: 89.09 kB / 450.8 MB, free: 19.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.2488, allocations: 104 kB / 450.9 MB, free: 19.71 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.0004025/0.2492, allocations: 287.3 kB / 451.2 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.2494, allocations: 151.2 kB / 451.3 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.2516, allocations: 1.341 MB / 452.7 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2516, allocations: 12 kB / 452.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2516, allocations: 3.391 kB / 452.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.2516, allocations: 7.969 kB / 452.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.2527, allocations: 1.065 MB / 453.7 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.2528, allocations: 4 kB / 453.7 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.2534, allocations: 241.8 kB / 454 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.2549, allocations: 428.9 kB / 454.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.255, allocations: 47.97 kB / 454.4 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.2571, allocations: 4.566 MB / 459 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2571, allocations: 4 kB / 459 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.2594, allocations: 1.875 MB / 460.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.2595, allocations: 113.9 kB / 461 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.2596, allocations: 24 kB / 461 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.2599, allocations: 31.98 kB / 461.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2601, allocations: 109.6 kB / 461.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.2601, allocations: 58.88 kB / 461.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.2604, allocations: 488.6 kB / 461.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2604, allocations: 0 / 461.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001543/0.262, allocations: 0.6161 MB / 462.3 MB, free: 8.059 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.0006801/0.2627, allocations: 0.5295 MB / 462.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.2641, allocations: 1.359 MB / 464.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2641, allocations: 2.688 kB / 464.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.2647, allocations: 0.811 MB / 465 MB, free: 5.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.2654, allocations: 253.4 kB / 465.3 MB, free: 5.266 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.003549/0.269, allocations: 2.822 MB / 468.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.2691, allocations: 279.8 kB / 468.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006501/0.2698, allocations: 327.1 kB / 468.7 MB, free: 1.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.2701, allocations: 212.4 kB / 468.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2701, allocations: 0 / 468.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of Templates: time 0.0261/0.2962, allocations: 22.13 MB / 491 MB, free: 12.65 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.81059259083122]