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.001298/0.001298, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001184/0.001184, allocations: 173 kB / 23.49 MB, free: 1.062 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.9741/0.9741, allocations: 177.1 MB / 203.8 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.08929/0.08929, allocations: 17.38 MB / 277.7 MB, free: 11.73 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.272e-06/1.272e-06, allocations: 0 / 353.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.24e-05, allocations: 10.25 kB / 353.4 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.03132/0.03134, allocations: 32.52 MB / 386 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.0478, allocations: 17.89 MB / 403.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.04912, allocations: 27.81 kB / 403.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.05018, allocations: 452.2 kB / 404.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.05319, allocations: 1.349 MB / 405.7 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005347/0.05854, allocations: 2.648 MB / 408.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.06156, allocations: 2.361 MB / 410.7 MB, free: 1.094 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1584/0.22, allocations: 1.252 MB / 411.9 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.2226, allocations: 1.533 MB / 413.5 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.2244, allocations: 0.9561 MB / 414.4 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006763/0.2251, allocations: 224 kB / 414.6 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.2296, allocations: 1.737 MB / 416.4 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006784/0.2303, allocations: 0.5237 MB / 416.9 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.2319, allocations: 0.7934 MB / 417.7 MB, free: 36.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00751/0.2394, allocations: 3.646 MB / 421.3 MB, free: 35.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2394, allocations: 0 / 421.3 MB, free: 35.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2394, allocations: 0 / 421.3 MB, free: 35.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.989e-05/0.2395, allocations: 0 / 421.3 MB, free: 35.92 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.003497/0.243, allocations: 2.592 MB / 423.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.243, allocations: 6.469 kB / 423.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.2443, allocations: 0.736 MB / 424.7 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.2456, allocations: 1.074 MB / 425.8 MB, free: 34.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.2457, allocations: 209.3 kB / 426 MB, free: 34.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.2459, allocations: 197.2 kB / 426.1 MB, free: 34.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.2478, allocations: 1.771 MB / 427.9 MB, free: 33.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.2479, allocations: 5.312 kB / 427.9 MB, free: 33.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.248, allocations: 86.09 kB / 428 MB, free: 33.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.248, allocations: 48.56 kB / 428.1 MB, free: 33.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.2498, allocations: 1.488 MB / 429.5 MB, free: 33.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.005672/0.2555, allocations: 6.442 MB / 436 MB, free: 29.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.2571, allocations: 1.42 MB / 437.4 MB, free: 29.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.2575, allocations: 372.6 kB / 437.8 MB, free: 28.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004025/0.2615, allocations: 3.357 MB / 441.1 MB, free: 26.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2615, allocations: 50.33 kB / 441.2 MB, free: 26.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.775e-06/0.2615, allocations: 0 / 441.2 MB, free: 26.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.00845/0.27, allocations: 4.058 MB / 445.2 MB, free: 22.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.27, allocations: 115.8 kB / 445.3 MB, free: 22.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.2706, allocations: 0.873 MB / 446.2 MB, free: 21.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.2707, allocations: 52.33 kB / 446.3 MB, free: 21.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.271, allocations: 1.023 MB / 447.3 MB, free: 20.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.2711, allocations: 401.8 kB / 447.7 MB, free: 20.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.2714, allocations: 349 kB / 448 MB, free: 19.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.2714, allocations: 0.5316 MB / 448.6 MB, free: 19.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.2718, allocations: 287.3 kB / 448.8 MB, free: 18.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.2724, allocations: 1.344 MB / 450.2 MB, free: 17.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2736, allocations: 1.789 MB / 452 MB, free: 14.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.2736, allocations: 8 kB / 452 MB, free: 14.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002456/0.276, allocations: 1.792 MB / 453.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.276, allocations: 16 kB / 453.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.2761, allocations: 24 kB / 453.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.2777, allocations: 457.9 kB / 454.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008682/0.2786, allocations: 444 kB / 454.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.2814, allocations: 4.663 MB / 459.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.2822, allocations: 86.53 kB / 459.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2823, allocations: 110.5 kB / 459.5 MB, free: 7.375 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.0003701/0.2826, allocations: 279.2 kB / 459.8 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.2828, allocations: 159 kB / 460 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.2851, allocations: 1.342 MB / 461.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.2851, allocations: 14.69 kB / 461.3 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2851, allocations: 4 kB / 461.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.2851, allocations: 3.984 kB / 461.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2862, allocations: 1.076 MB / 462.4 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.2862, allocations: 7.938 kB / 462.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.2869, allocations: 239.5 kB / 462.7 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.2885, allocations: 429.5 kB / 463.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/0.2886, allocations: 47.98 kB / 463.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.291, allocations: 4.565 MB / 467.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.291, allocations: 4 kB / 467.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.2937, allocations: 1.875 MB / 469.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.2939, allocations: 111.1 kB / 469.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.294, allocations: 28 kB / 469.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.2944, allocations: 31.98 kB / 469.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.2946, allocations: 104.2 kB / 469.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.2946, allocations: 55.92 kB / 469.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004421/0.2951, allocations: 487.2 kB / 470.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2951, allocations: 0 / 470.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001934/0.297, allocations: 0.725 MB / 471.1 MB, free: 11.6 MB / 346.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.001153/0.2982, allocations: 0.7515 MB / 471.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.2999, allocations: 1.36 MB / 473.2 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2999, allocations: 0 / 473.2 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3009, allocations: 0.8097 MB / 474 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.3018, allocations: 259.5 kB / 474.3 MB, free: 8.637 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.3056, allocations: 2.82 MB / 477.1 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.3058, allocations: 279.8 kB / 477.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007175/0.3066, allocations: 326.1 kB / 477.7 MB, free: 5.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.3069, allocations: 211 kB / 477.9 MB, free: 5.133 MB / 346.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3069, allocations: 4 kB / 477.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of Templates: time 0.02864/0.3355, allocations: 24.99 MB / 0.4911 GB, free: 13.15 MB / 378.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.806442630942911]