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.001068/0.001068, 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.001211/0.001211, 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.9808/0.9808, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.08862/0.08862, allocations: 17.46 MB / 277.7 MB, free: 11.62 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 2.043e-06/2.043e-06, allocations: 3.938 kB / 353.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.072e-05, allocations: 2.312 kB / 353.6 MB, free: 10.19 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.02806/0.02809, allocations: 32.53 MB / 386.1 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.0421, allocations: 17.88 MB / 404 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.04283, allocations: 27.81 kB / 404 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000805/0.04364, allocations: 456.2 kB / 404.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.04561, allocations: 1.341 MB / 405.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.04978, allocations: 2.652 MB / 408.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.05126, allocations: 2.361 MB / 410.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1327/0.184, allocations: 1.246 MB / 412 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.1862, allocations: 1.541 MB / 413.6 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.1879, allocations: 0.951 MB / 414.5 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005535/0.1884, allocations: 224.1 kB / 414.8 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004289/0.1927, allocations: 1.741 MB / 416.5 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.1932, allocations: 0.5193 MB / 417 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.1946, allocations: 0.7964 MB / 417.8 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006751/0.2014, allocations: 3.648 MB / 421.5 MB, free: 35.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2014, allocations: 0 / 421.5 MB, free: 35.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2014, allocations: 0 / 421.5 MB, free: 35.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.751e-05/0.2015, allocations: 0 / 421.5 MB, free: 35.95 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.003822/0.2053, allocations: 2.594 MB / 424.1 MB, free: 34.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2053, allocations: 6.312 kB / 424.1 MB, free: 34.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.2066, allocations: 0.7328 MB / 424.8 MB, free: 34.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.2077, allocations: 1.079 MB / 425.9 MB, free: 34.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.2078, allocations: 208.5 kB / 426.1 MB, free: 34.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.208, allocations: 195.3 kB / 426.3 MB, free: 34.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.2098, allocations: 1.775 MB / 428 MB, free: 33.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.2098, allocations: 5 kB / 428 MB, free: 33.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.21, allocations: 84.84 kB / 428.1 MB, free: 33.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.21, allocations: 46.47 kB / 428.2 MB, free: 33.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.2118, allocations: 1.496 MB / 429.7 MB, free: 33.57 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.005487/0.2173, allocations: 6.428 MB / 436.1 MB, free: 29.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.2188, allocations: 1.417 MB / 437.5 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.2192, allocations: 377.9 kB / 437.9 MB, free: 28.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003874/0.2231, allocations: 3.363 MB / 441.2 MB, free: 26.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2231, allocations: 50.33 kB / 441.3 MB, free: 26.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.244e-06/0.2231, allocations: 0 / 441.3 MB, free: 26.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.008568/0.2317, allocations: 4.062 MB / 445.4 MB, free: 22.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.2317, allocations: 111.8 kB / 445.5 MB, free: 22.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.2323, allocations: 0.873 MB / 446.3 MB, free: 21.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.2324, allocations: 53.69 kB / 446.4 MB, free: 21.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.2327, allocations: 1.019 MB / 447.4 MB, free: 20.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.2328, allocations: 401 kB / 447.8 MB, free: 19.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.2331, allocations: 351.7 kB / 448.1 MB, free: 19.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.2332, allocations: 0.5316 MB / 448.7 MB, free: 19.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.2336, allocations: 283.8 kB / 449 MB, free: 18.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.2342, allocations: 1.347 MB / 450.3 MB, free: 16.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.2354, allocations: 1.788 MB / 452.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.2354, allocations: 8 kB / 452.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002618/0.238, allocations: 1.784 MB / 453.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.238, allocations: 16 kB / 453.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.2381, allocations: 24 kB / 453.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.2397, allocations: 462 kB / 454.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/0.2406, allocations: 449.9 kB / 454.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.2432, allocations: 4.66 MB / 459.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.2438, allocations: 86.55 kB / 459.6 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.2439, allocations: 110.5 kB / 459.7 MB, free: 7.227 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.0003925/0.2443, allocations: 276.1 kB / 459.9 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.2445, allocations: 155.2 kB / 460.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.2468, allocations: 1.345 MB / 461.4 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2468, allocations: 18.62 kB / 461.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2468, allocations: 4 kB / 461.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.2468, allocations: 6.641 kB / 461.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.2479, allocations: 1.08 MB / 462.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.2479, allocations: 6.625 kB / 462.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.2485, allocations: 234.5 kB / 462.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.25, allocations: 428.3 kB / 463.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.2501, allocations: 46.84 kB / 463.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.2524, allocations: 4.565 MB / 467.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2524, allocations: 4 kB / 467.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.2551, allocations: 1.879 MB / 469.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2552, allocations: 109.9 kB / 469.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2553, allocations: 31.98 kB / 469.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.2557, allocations: 24 kB / 469.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.2558, allocations: 103.5 kB / 470 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.2559, allocations: 55.92 kB / 470 MB, free: 12.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004306/0.2563, allocations: 487.9 kB / 470.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2563, allocations: 0 / 470.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001883/0.2582, allocations: 0.725 MB / 471.2 MB, free: 11.46 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.001092/0.2593, allocations: 0.7526 MB / 472 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.2609, allocations: 1.368 MB / 473.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2609, allocations: 2.656 kB / 473.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.2616, allocations: 0.8001 MB / 474.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.2624, allocations: 259.1 kB / 474.4 MB, free: 8.484 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.00383/0.2662, allocations: 2.816 MB / 477.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2664, allocations: 279.8 kB / 477.5 MB, free: 5.395 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006801/0.2671, allocations: 326.4 kB / 477.8 MB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.2674, allocations: 210.7 kB / 478 MB, free: 4.988 MB / 346.7 MB Notification: Performance of SimCode: time 1.522e-06/0.2674, allocations: 6.656 kB / 478 MB, free: 4.984 MB / 346.7 MB Notification: Performance of Templates: time 0.06054/0.328, allocations: 25 MB / 0.4912 GB, free: 13.01 MB / 378.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.852316111791879]