Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001416/0.001416, allocations: 92.22 kB / 19.65 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.001498/0.001498, allocations: 173 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.9959/0.9959, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1227/0.1227, allocations: 17.46 MB / 277.4 MB, free: 11.55 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 353.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.018e-05, allocations: 10.19 kB / 353.5 MB, free: 9.855 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.03331/0.03333, allocations: 32.41 MB / 386 MB, free: 9.559 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.04516, allocations: 12.04 MB / 398 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.04637, allocations: 35.75 kB / 398 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008897/0.04726, allocations: 376.6 kB / 398.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.05038, allocations: 1.159 MB / 399.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.05499, allocations: 1.834 MB / 401.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002297/0.05729, allocations: 2.357 MB / 403.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.05866, allocations: 1.251 MB / 405 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.06025, allocations: 1.599 MB / 406.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.06145, allocations: 0.982 MB / 407.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003581/0.06181, allocations: 220 kB / 407.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.0642, allocations: 1.193 MB / 409 MB, free: 2.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.06453, allocations: 0.5217 MB / 409.5 MB, free: 1.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006663/0.0652, allocations: 0.803 MB / 410.3 MB, free: 1.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.159/0.2242, allocations: 2.971 MB / 413.3 MB, free: 42.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2242, allocations: 0.75 kB / 413.3 MB, free: 42.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2242, allocations: 0 / 413.3 MB, free: 42.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.613e-05/0.2243, allocations: 1.719 kB / 413.3 MB, free: 42.64 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.003942/0.2283, allocations: 2.488 MB / 415.8 MB, free: 41.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2283, allocations: 11.41 kB / 415.8 MB, free: 41.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.23, allocations: 0.6711 MB / 416.4 MB, free: 41.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.2314, allocations: 0.9122 MB / 417.4 MB, free: 41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.2315, allocations: 204.3 kB / 417.6 MB, free: 40.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.2317, allocations: 203.3 kB / 417.8 MB, free: 40.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.2345, allocations: 1.777 MB / 419.5 MB, free: 40.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.2345, allocations: 4.078 kB / 419.5 MB, free: 40.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.2346, allocations: 86.89 kB / 419.6 MB, free: 40.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.2347, allocations: 48.56 kB / 419.7 MB, free: 40.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.2371, allocations: 1.495 MB / 421.2 MB, free: 40.55 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.005716/0.2428, allocations: 6.447 MB / 427.6 MB, free: 37.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2443, allocations: 1.424 MB / 429 MB, free: 37.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.2446, allocations: 372.2 kB / 429.4 MB, free: 36.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003653/0.2483, allocations: 3.151 MB / 432.6 MB, free: 35.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2483, allocations: 50.92 kB / 432.6 MB, free: 35.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.295e-06/0.2483, allocations: 1.844 kB / 432.6 MB, free: 35.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.007906/0.2562, allocations: 4.065 MB / 436.7 MB, free: 34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2563, allocations: 121.7 kB / 436.8 MB, free: 33.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/0.2569, allocations: 0.8733 MB / 437.7 MB, free: 33.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.257, allocations: 46.73 kB / 437.7 MB, free: 33.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.2573, allocations: 1.028 MB / 438.7 MB, free: 32.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.2575, allocations: 397.9 kB / 439.1 MB, free: 31.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.2578, allocations: 349 kB / 439.5 MB, free: 31.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.2578, allocations: 0.5341 MB / 440 MB, free: 31.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.2582, allocations: 283.8 kB / 440.3 MB, free: 30.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.2588, allocations: 1.346 MB / 441.6 MB, free: 28.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.26, allocations: 1.792 MB / 443.4 MB, free: 26.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.2601, allocations: 10.66 kB / 443.4 MB, free: 26.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.00242/0.2625, allocations: 1.784 MB / 445.2 MB, free: 25.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2625, allocations: 16 kB / 445.2 MB, free: 25.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.2625, allocations: 28 kB / 445.3 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.2641, allocations: 454.4 kB / 445.7 MB, free: 24.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.2649, allocations: 446.5 kB / 446.1 MB, free: 24.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.2676, allocations: 4.667 MB / 450.8 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.2681, allocations: 85.72 kB / 450.9 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.2682, allocations: 106.6 kB / 451 MB, free: 19.21 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.000339/0.2685, allocations: 283.8 kB / 451.3 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.2687, allocations: 151.2 kB / 451.4 MB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.2708, allocations: 1.347 MB / 452.8 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.2708, allocations: 15.98 kB / 452.8 MB, free: 17.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2708, allocations: 0 / 452.8 MB, free: 17.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.2709, allocations: 3.984 kB / 452.8 MB, free: 17.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.2719, allocations: 1.071 MB / 453.8 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.2719, allocations: 4 kB / 453.9 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.2725, allocations: 244.2 kB / 454.1 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.274, allocations: 429.8 kB / 454.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.274, allocations: 43.98 kB / 454.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.2762, allocations: 4.562 MB / 459.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2762, allocations: 4 kB / 459.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.2784, allocations: 1.875 MB / 461 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.2785, allocations: 111.1 kB / 461.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.2786, allocations: 24 kB / 461.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.2789, allocations: 40.86 kB / 461.2 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.279, allocations: 104.8 kB / 461.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.2791, allocations: 51.92 kB / 461.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003144/0.2794, allocations: 488.6 kB / 461.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2794, allocations: 0 / 461.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001487/0.2809, allocations: 0.6161 MB / 462.4 MB, free: 7.547 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.00077/0.2817, allocations: 0.5309 MB / 462.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.283, allocations: 1.368 MB / 464.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.283, allocations: 0 / 464.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.2836, allocations: 0.8063 MB / 465.1 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.2843, allocations: 265.8 kB / 465.4 MB, free: 4.754 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.003474/0.2878, allocations: 2.809 MB / 468.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2879, allocations: 279.8 kB / 468.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006073/0.2886, allocations: 321.2 kB / 468.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.2888, allocations: 215 kB / 469 MB, free: 1.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2888, allocations: 0 / 469 MB, free: 1.25 MB / 330.7 MB Notification: Performance of Templates: time 0.02844/0.3173, allocations: 24.62 MB / 493.6 MB, free: 9.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.761720768176019]